-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathapp.json
85 lines (83 loc) · 3.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
{
"name": "Gdrive-Clone-bot",
"description": "This is a telegram bot writen in python for cloning files on the internet to our beloved Google Drive.",
"logo": "https://telegra.ph/file/46edca7e97b7702ea6746.jpg",
"keywords": [
"telegram",
"mirror",
"googledrive"
],
"repository": "https://github.com/death-angel-141/Clone-Bot.git",
"env": {
"BOT_TOKEN": {
"description": "The telegram bot token that you get from @BotFather",
"value": "",
"required": true
},
"API_ID": {
"description": "This is to authenticate to your telegram account for downloading Telegram files. You can get this from https://my.telegram.org DO NOT put this in quotes.",
"value": "",
"required": true
},
"API_HASH": {
"description": "This is to authenticate to your telegram account for downloading Telegram files. You can get this from https://my.telegram.org",
"value": "",
"required": true
},
"SESSION_STRING": {
"description": "Session string generated by running python3 generate_string_session.py",
"value": "",
"required": true
},
"GDRIVE_FOLDER_ID": {
"description": "This is the folder ID of the Google Drive Folder to which you want to upload all the cloned files.",
"value": "",
"required": true
},
"OWNER_ID": {
"description": "The Telegram user ID (not username) of the owner of the bot,get by using t.me/userinfobot",
"value": "",
"required": true
},
"AUTH_CHATS": {
"description": "chat ids which you wanted to authorize,get by using t.me/userinfobot",
"value": "",
"required": true
},
"DOWNLOAD_STATUS_UPDATE_INTERVAL": {
"description": "A short interval of time in seconds after which the Mirror progress message is updated. (I recommend to keep it 5 seconds at least)",
"value": "5",
"required": false
},
"AUTO_DELETE_MESSAGE_DURATION": {
"description": "Interval of time (in seconds), after which the bot deletes it's message (and command message) which is expected to be viewed instantly. Note: Set to -1 to never automatically delete messages",
"value": "20",
"required": false
},
"IS_TEAM_DRIVE": {
"description": "(Optional field) Set to True if GDRIVE_FOLDER_ID is from a Team Drive else False or Leave it empty.",
"value": "",
"required": false
},
"SECRET_JSON": {
"description": "Get it by running python3 generate_drive_token.py",
"value": "",
"required": true
},
"INDEX_URL": {
"description": "(Optional field) Refer to https://github.com/maple3142/GDIndex/ The URL should not have any trailing '/'",
"value": "",
"required": false
},
"USE_SERVICE_ACCOUNTS": {
"description": "(Optional field) (Leave empty if unsure) Whether to use service accounts or not. For this to work see Using service accounts section below.",
"value": "",
"required": false
}
},
"buildpacks": [
{
"url": "heroku/python"
}
]
}