-
Notifications
You must be signed in to change notification settings - Fork 52
/
Data.py
64 lines (48 loc) · 1.59 KB
/
Data.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
from pyrogram.types import InlineKeyboardButton
class Data:
# Start Message
START = """
Hello {}
If you don't trust this bot,
1) don't read this message
2) block bot or delete chat
This Bot Works To Help You Get Session String Via Bot. Recommendations If You Want To Take String Use Another Account,
Managed By @zenfrans
"""
# Home Button
home_buttons = [
[InlineKeyboardButton("Start Generating Session", callback_data="generate")],
[InlineKeyboardButton(text="Home", callback_data="home")]
]
generate_button = [
[InlineKeyboardButton("Start Generating Session", callback_data="generate")]
]
# Rest Buttons
buttons = [
[InlineKeyboardButton("Start Generating Session", callback_data="generate")],
[InlineKeyboardButton("Maintaned By", url="https://t.me/zenfrans")],
[
InlineKeyboardButton("How to use me", callback_data="help"),
InlineKeyboardButton("About", callback_data="about")
],
[InlineKeyboardButton("Other bot info", url="https://t.me/nbzoning")],
]
# Help Message
HELP = """
✨ **Available Commands** ✨
/about - About this bot
/help - How to use this bot
/start - Start Bot
/generate - Start Generating Session
/cancel - Cancel process
/restart - Restart process
"""
# About Message
ABOUT = """
**About This Bot**
A telegram bot to retrieve pyrograms and telethon string sessions by @nbzoning
Group Support : [Gabung](https://t.me/OkaeriUserbot)
Framework : [Pyrogram](docs.pyrogram.org)
Language : [Python](www.python.org)
Developer : @zenfrans
"""