forked from SpringsFern/TG-FileStreamBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.json
More file actions
104 lines (104 loc) · 4 KB
/
app.json
File metadata and controls
104 lines (104 loc) · 4 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
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
{
"name": "File Stream Bot",
"description": "A Telethon Telegram bot to access Telegram Files via the web.",
"keywords": [
"telegram",
"web",
"telethon",
"aiohttp",
"python",
"plugin",
"modular",
"media"
],
"repository": "https://github.com/DeekshithSH/TG-FileStreamBot",
"success_url": "/status",
"website": "https://github.com/DeekshithSH/TG-FileStreamBot",
"env": {
"API_ID": {
"description": "Goto my.telegram.org to obtain this",
"required": true
},
"API_HASH": {
"description": "Goto my.telegram.org to obtain this",
"required": true
},
"BOT_TOKEN": {
"description": "Get the bot token from @BotFather",
"required": true
},
"BIN_CHANNEL": {
"description": "Channel ID of your Bin Channel",
"required": true
},
"ALLOWED_USERS": {
"description": "A list of user IDs separated by comma (,). If this is set, only the users in this list will be able to use the bot.",
"required": false
},
"CACHE_SIZE": {
"description": "Maximum number of file info entries cached per client. Each client (including those using MULTI_TOKEN) gets its own separate cache of this size",
"value": 128,
"required": false
},
"CHUNK_SIZE": {
"description": "Size of the chunk to request from Telegram server when streaming a file",
"required": false
},
"CONNECTION_LIMIT": {
"description": " (default 20) - The maximum number of connections to a single Telegram datacenter",
"required": false
},
"FQDN": {
"description": "Heroku App URL or Custom Domain. Update it after deploying",
"required": false
},
"HAS_SSL": {
"description": "(can be either True or False) If you want the generated links in https format",
"value": "true",
"required": false
},
"KEEP_ALIVE": {
"description": "(can be either True or False) If you want to make Heroku App ping itself every. Set to True if your using Eco Dyno",
"required": false
},
"NO_PORT": {
"description": "(can be either True or False) If you don't want your port to be displayed. Leave it as it is",
"value": "true",
"required": false
},
"NO_UPDATE": {
"description": "if set to true bot won't respond to any messages",
"required": false
},
"PING_INTERVAL": {
"description": "The time in seconds you want the servers to be pinged each time to avoid sleeping (Only for Heroku/Render). Defaults to 1200 or 10 minutes",
"value": 1200,
"required": false
},
"REQUEST_LIMIT": {
"description": " (default 5) - The maximum number of requests a single IP can have active at a time",
"required": false
},
"SLEEP_THRESHOLD": {
"description": " Set a sleep threshold for flood wait exceptions happening globally in this telegram bot instance, below which any request that raises a flood wait will be automatically invoked again after sleeping for the required amount of time. Flood wait exceptions requiring higher waiting times will be raised. Defaults to 60 seconds.",
"required": false
},
"TRUST_HEADERS": {
"description": "(defaults to true) - Whether or not to trust X-Forwarded-For headers when logging requests",
"required": false
},
"UPDATES_CHANNEL": {
"description": "Your Telegram Channel Username without @",
"required": false
}
},
"buildpacks": [{
"url": "heroku/python"
}],
"formation": {
"web": {
"quantity": 1,
"size": "basic"
}
}
}