-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathapp.json
134 lines (134 loc) Β· 5.1 KB
/
app.json
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "Leo Media Search Bot",
"description": "When you going to send file on telegram channel/group this bot will save that in database, So you can search that easily in inline mode",
"logo": "https://telegra.ph/file/c705fac44db2b8d7f47e7.jpg",
"keywords": [
"telegram",
"best",
"srilankan",
"pyrogram",
"media",
"search",
"channel",
"index",
"inline"
],
"website": "https://github.com/Naviya2/LeoMediaSearchBot",
"repository": "https://github.com/Naviya2/LeoMediaSearchBot",
"env": {
"BOT_TOKEN": {
"description": "Your bot token.",
"value": ""
},
"USERBOT_STRING_SESSION": {
"description": "User bot string session.",
"value": "",
"required": false
},
"SESSION": {
"description": "Session name for db.if u are already user of old media search bot. please type here that bot's session name. it can be found info.py file as SESSION",
"required": true
},
"APP_ID": {
"description": "Get this value from https://my.telegram.org",
"value": ""
},
"API_HASH": {
"description": "Get this value from https://my.telegram.org",
"value": ""
},
"BOT_OWNER": {
"description": "Bot Owner UserID"
},
"BOT_USERNAME":{
"description": "Bot username without @"
},
"UPDATES_CHANNEL": {
"description": "ID of a Channel which you want to do Force Sub to use the bot. Example: -100123456789",
"required": false
},
"LOG_CHANNEL": {
"description": "Logs Channel ID for some Tracking XD. Example: -100123456789"
},
"BROADCAST_AS_COPY": {
"description": "Broadcast as Copy or with Forward Tag. Value should be True/False."
},
"SESSION_NAME": {
"description": "Any Bot Session Name for Save Users in db.",
"required": false
},
"CHANNELS": {
"description": "Username or ID of database channel or group. Separate multiple IDs by space.",
"value": ""
},
"ADMINS": {
"description": "Username or ID of Admin. Separate multiple Admins by space.",
"value": ""
},
"AUTH_USERS": {
"description": "Username or ID of users to give access of inline search. Separate multiple users by space.\nLeave it empty if you don't want to restrict bot usage.",
"value": "",
"required": false
},
"BANNED_USERS": {
"description": "Banned users user id , these users are banned from the bot permenentally",
"required": false
},
"START_MSG": {
"description": "A Massege for view at start. If you want to change it you can change it here",
"value": "**Hi {}π\n\nI'm Leo Media Search Bot**\n\nYou can start searching by the 'Search Media π' button below π",
"required": false
},
"SHARE_BUTTON_TEXT": {
"description": "A Massege for add to share button. If you want to change it you can change it here",
"value": "**Leo Media Search Bot π±π°**\n\n`Here you can find any media file by searching its name πΒ΄\n\nBot : {username} π€\nSupport Group : @leosupportx π±π°\nUpdates Channel: @new_ehi π±π°\nDevelopper : @naviya2 π±π°",
"required": false
},
"USE_CAPTION_FILTER": {
"description": "Whether bot should use captions to improve search results. (True False)",
"value": "False",
"required": false
},
"DATABASE_URI": {
"description": "This is the db which use to save files to work inline search.. get it from mongodb.com",
"value": "",
"required": true
},
"MONGODB_URI": {
"description": "mongo based db for save users in db .. Dont use the inline search bots database URI",
"required": true
},
"DATABASE_NAME": {
"description": "Name of the database in mongoDB.",
"value": "",
"required": true
},
"COLLECTION_NAME": {
"description": "Name of the collections. Defaults to Telegram_files. If you are using the same database, then use different collection name for each bot",
"value": "Telegram_files",
"required": false
},
"MAX_RESULTS": {
"description": "Maximum limit for inline search results",
"value": "10",
"required": false
},
"CACHE_TIME": {
"description": "The maximum amount of time in seconds that the result of the inline query may be cached on the server",
"value": "300",
"required": false
}
},
"addons": [],
"buildpacks": [
{
"url": "heroku/python"
}
],
"formation": {
"worker": {
"quantity": 1,
"size": "free"
}
}
}