forked from khoben/telemirror
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
48 lines (48 loc) · 1.49 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
{
"name": "TeleMirror",
"description": "App helps mirroring newly created post from Telegram channels.",
"image": "heroku/python",
"repository": "https://github.com/khoben/telemirror",
"keywords": [
"python",
"telegram"
],
"addons": [
"heroku-postgresql"
],
"formation": {
"run": {
"quantity": 1
}
},
"env": {
"API_ID": {
"description": "Telegram APP ID"
},
"API_HASH": {
"description": "Telegram APP hash"
},
"SESSION_STRING": {
"description": "Telegram session string value"
},
"CHAT_MAPPING": {
"description": "Mapping between source and target channels (with their IDs (-100...)). Example: [-100source1,-100source2:-100target];[-100source3:-100target2];"
},
"TIMEOUT_MIRRORING": {
"description": "Delay in sec between sending or editing messages. Default is 0.1 seconds",
"required": false
},
"REMOVE_URLS": {
"description": "Removing urls from incoming messages (true or false)",
"required": false
},
"REMOVE_URLS_WL": {
"description": "White list for removing URLs separated by commas",
"required": false
},
"LOG_LEVEL": {
"description": "Logging level. Valid levels are 'debug', 'info', 'warning', 'error', 'critical'",
"required": false
}
}
}