-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsample_info.py
More file actions
34 lines (25 loc) · 999 Bytes
/
sample_info.py
File metadata and controls
34 lines (25 loc) · 999 Bytes
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
# Bot information
SESSION ='Media_search'
USER_SESSION = 'User_Bot'
API_ID = 12345
API_HASH = '0123456789abcdef0123456789abcdef'
BOT_TOKEN = '123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11'
# Bot settings
MAX_RESULTS = 10
CACHE_TIME = 300
# Admins & Channels
ADMINS = [12345789, 'admin123', 98765432]
CHANNELS = [-10012345678, -100987654321, 'channelusername']
# MongoDB information
DATABASE_URI = "mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb]?retryWrites=true&w=majority"
DATABASE_NAME = 'Telegram'
COLLECTION_NAME ='channel_files' # If you going to use same database, then use different collection name for each bot
# Messages
START_MSG = """
**Hi I Am Inline-Files-Bot 😍️
Here You Can Search Files/Documents In Inline Mode.
Just Press Following Buttons And Start Searching
Copyright By: CyberBoyAyush 😎️
Here Is The [Source-Code](https://github.com/CyberBoyAyush/Inline-Files-Bot)
"""
SHARE_BUTTON_TEXT = 'Checkout {username} for searching files'