Create Data.py
Browse files
Data.py
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from pyrogram.types import InlineKeyboardButton
|
2 |
+
|
3 |
+
|
4 |
+
class Data:
|
5 |
+
# Start Message
|
6 |
+
START = """
|
7 |
+
Hello {}
|
8 |
+
|
9 |
+
Welcome {}
|
10 |
+
|
11 |
+
If you don't trust this bot,
|
12 |
+
1) don't read this message
|
13 |
+
2) Block bots or delete chats
|
14 |
+
|
15 |
+
This Bot Works To Help You Get String Session Via Bot. Recommendations If You Want to Take a String, Use Another Account, So There's No Delay. Thank you
|
16 |
+
By @rencprx
|
17 |
+
"""
|
18 |
+
|
19 |
+
# Home Button
|
20 |
+
home_buttons = [
|
21 |
+
[InlineKeyboardButton("🔥 sᴛᴀʀᴛ ɢᴇɴᴇʀᴀᴛɪɴɢ sᴇssɪᴏɴ 🔥", callback_data="generate")],
|
22 |
+
[InlineKeyboardButton("sᴛʀɪɴɢ ᴠɪᴀ ʀᴇᴘʟɪᴛ", url="https://replit.com/@Randi356/Vegeta-String?v=1")],
|
23 |
+
[
|
24 |
+
InlineKeyboardButton(text="ᴋᴇᴍʙᴀʟɪ", callback_data="home")
|
25 |
+
],
|
26 |
+
]
|
27 |
+
|
28 |
+
generate_button = [
|
29 |
+
[InlineKeyboardButton("🔥 sᴛᴀʀᴛ ɢᴇɴᴇʀᴀᴛɪɴɢ sᴇssɪᴏɴ 🔥", callback_data="generate")]
|
30 |
+
]
|
31 |
+
|
32 |
+
# Reset Buttons
|
33 |
+
buttons = [
|
34 |
+
[InlineKeyboardButton("🔥 sᴛᴀʀᴛ ɢᴇɴᴇʀᴀᴛɪɴɢ sᴇssɪᴏɴ 🔥", callback_data="generate")],
|
35 |
+
[
|
36 |
+
InlineKeyboardButton("ᴀʙᴏᴜᴛ", callback_data="about")
|
37 |
+
],
|
38 |
+
[
|
39 |
+
InlineKeyboardButton("sᴛʀɪɴɢ ᴠɪᴀ ʀᴇᴘʟɪᴛ", url="https://replit.com/@Randi356/Vegeta-String?v=1")
|
40 |
+
],
|
41 |
+
]
|
42 |
+
|
43 |
+
# Help Message
|
44 |
+
HELP = """
|
45 |
+
✨ **Available Commands** ✨
|
46 |
+
|
47 |
+
/about - About this Bot
|
48 |
+
/help - This Message
|
49 |
+
/start - Start bot
|
50 |
+
/generate - Start Generating Session
|
51 |
+
"""
|
52 |
+
|
53 |
+
# About Message
|
54 |
+
ABOUT = """
|
55 |
+
**About This Bot**
|
56 |
+
|
57 |
+
A telegram bot to retrieve pyrograms and telethon string session by @VegetaSessionBot
|
58 |
+
|
59 |
+
Group Support : [ɢᴀʙᴜɴɢ](https://t.me/rencprx)
|
60 |
+
|
61 |
+
Framework : [Pyrogram](docs.pyrogram.org)
|
62 |
+
|
63 |
+
Language : [Python](www.python.org)
|
64 |
+
|
65 |
+
Developer : @rencprx
|
66 |
+
"""
|