forked from subinps/Media-Search-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
106 lines (106 loc) · 4.04 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
{
"name": "Media Search bot",
"description": "When you going to send file on telegram channel this bot will save that in database, So you can search that easily in inline mode",
"keywords": [
"telegram",
"auto-filter",
"filter",
"best",
"indian",
"pyrogram",
"media",
"search",
"channel",
"index",
"inline"
],
"website": "https://github.com/subinps/Media-Search-bot",
"repository": "https://github.com/subinps/Media-Search-bot",
"env": {
"BOT_TOKEN": {
"description": "Your bot token.",
"value": ""
},
"API_ID": {
"description": "Get this value from https://my.telegram.org",
"value": ""
},
"API_HASH": {
"description": "Get this value from https://my.telegram.org",
"value": ""
},
"CHANNELS": {
"description": "Username or ID of 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
},
"AUTH_CHANNEL": {
"description": "ID of channel.Make sure bot is admin in this channel. Without subscribing this channel users cannot use bot.",
"value": "",
"required": false
},
"START_MSG": {
"description": "Welcome message for start command",
"value": "**Hi, I'm [Media Search Bot](https://github.com/subinps/Media-Search-bot) or you can call me as Auto-Filter Bot**\n\nHere you can search files in Inline mode as well as PM, Use the below buttons to search files or send me the name of file to search.",
"required": false
},
"USE_CAPTION_FILTER": {
"description": "Whether bot should use captions to improve search results. (True False)",
"value": "False",
"required": false
},
"OMDB_API_KEY": {
"description": "Your OMBD API KEY, Fill if you want to generate a imdb poster of movie in autofilter.",
"value": "",
"required": false
},
"CUSTOM_FILE_CAPTION": {
"description": "A custom file caption for your files. formatable with , file_name, file_caption, file_size, Read Readme.md for better understanding.",
"value": "",
"required": false
},
"AUTH_GROUPS": {
"description": "ID of groups which bot should work as autofilter, bot can only work in thease groups. If not given , bot can be used in any group.",
"value": "",
"required": false
},
"DATABASE_URI": {
"description": "mongoDB URI. Get this value from https://www.mongodb.com. For more help watch this video - https://youtu.be/dsuTn4qV2GA",
"value": ""
},
"DATABASE_NAME": {
"description": "Name of the database in mongoDB. For more help watch this video - https://youtu.be/dsuTn4qV2GA",
"value": ""
},
"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
},
"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"
}
}
}