forked from ShivangKakkar/StringSessionBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.py
More file actions
59 lines (42 loc) · 1.58 KB
/
Copy pathdata.py
File metadata and controls
59 lines (42 loc) · 1.58 KB
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
from pyrogram.types import InlineKeyboardButton
class Data:
generate_single_button = [InlineKeyboardButton("sᴛᴀʀᴛ ɢᴇɴᴇʀᴀᴛɪɴɢ sᴛʀɪɴɢ", callback_data="generate")]
home_buttons = [
generate_single_button,
[InlineKeyboardButton(text="🏠 Return Home 🏠", callback_data="home")]
]
generate_button = [generate_single_button]
buttons = [
generate_single_button,
[InlineKeyboardButton("ʙᴏᴛ sᴛᴀᴛᴜs ᴀɴᴅ ᴍᴏʀᴇ ʙᴏᴛs", url="https://t.me/RafaelSupportGrp")],
[
InlineKeyboardButton("ʜᴏᴡ ᴛᴏ ᴜsᴇ ❔", callback_data="help"),
InlineKeyboardButton("ᴀʙᴏᴜᴛ", callback_data="about")
],
[InlineKeyboardButton("ᴍᴏʀᴇ ᴀᴍᴀᴢɪɴɢ ʙᴏᴛ", url="https://t.me/RafaelSupportGrp")],
]
START = """
Hai {}
{} DIBUAT UNTUK MEMBANTU ANDA MENGAMBIL STRING SESSION TELEGRAM ANDA DENGAN AMAN
Jika Anda tidak mempercayai bot ini,
1) gaush dibaca
2) hapus chat ini terus blok
Manage by : @RapalelWak
"""
HELP = """
✨ **Available Commands** ✨
/about - About The Bot
/help - This Message
/start - Start the Bot
/generate - Generate Session
/cancel - Cancel the process
/restart - Cancel the process
"""
ABOUT = """
**About This Bot**
Telegram Bot to generate Pyrogram and Telethon string session by @RafaelSupportGrp
Source Code : [Click Here](https://github.com/XlfyDit/StringSessionBot)
Framework : [Pyrogram](https://docs.pyrogram.org)
Language : [Python](https://www.python.org)
Developer : @RapalelWak
"""