forked from ShivangKakkar/RenameTelegramBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathData.py
More file actions
61 lines (44 loc) · 1.73 KB
/
Data.py
File metadata and controls
61 lines (44 loc) · 1.73 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
60
61
from pyrogram.types import InlineKeyboardButton
class Data:
# Start Message
START = """
Hey {}
Welcome to {}
You can use me to rename documents and files with certain other features. Use `/help` to learn how !
By @StarkBots
"""
# Home Button
home_buttons = [
[InlineKeyboardButton(text="🏠 Return Home 🏠", callback_data="home")],
]
# Rest Buttons
buttons = [
[InlineKeyboardButton("✨ Bot Status and More Bots ✨", url="https://t.me/StarkBots/7")],
[
InlineKeyboardButton("How to Use ❔", callback_data="help"),
InlineKeyboardButton("🎪 About 🎪", callback_data="about")
],
[InlineKeyboardButton("♥ More Amazing bots ♥", url="https://t.me/StarkBots")],
[InlineKeyboardButton("🎨 Support Group 🎨", url="https://t.me/StarkBotsChat")],
]
# Help Message
HELP = """
Just send a document / video to start renaming. Then when asked, give the new name for the file. The bot will download the file and upload with new name.
1) To have a custom thumbnail on your file, add an 'jpg' image as thumbnail using /thumbnail command.
2) By default, videos are uploaded as videos. To prompt the bot to upload video as document, use /settings to change settings.
✨ **Available Commands** ✨
/thumbnail - Change thumbnail settings
/settings - Change default settings
/about - About The Bot
/help - This Message
/start - Start the Bot
"""
# About Message
ABOUT = """
**About This Bot**
A telegram rename bot by @StarkBots
Source Code : [Click Here](https://github.com/StarkBotsIndustries/RenameTelegramBot)
Framework : [Pyrogram](docs.pyrogram.org)
Language : [Python](www.python.org)
Developer : @StarkProgrammer
"""