Spaces:
Build error
Build error
File size: 926 Bytes
7ec3e65 |
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 |
<h1>FAQ ?</h1>
<br>
<h3>How to edit config.py</h3>
<p> Here is sample edited config.py for deploy to Locally/VPS. copy and past and edit with your variables</p>
<p> Go To sample_config.py and edit with your veriable</p>
<pre>
# sample config file
class Config(object):
# get a token from @BotFather
BOT_TOKEN = "5568340867:AAGuPzlgwqgHtgqmdL7yt12PRLrXFjt98Zg"
# Get these values from my.telegram.org
API_ID = 12345
API_HASH = "uPzlgwqgHtgqmdL7yt12PRLrXFj"
# No need to change
DOWNLOAD_LOCATION = "./DOWNLOADS"
ADL_BOT_RQ = {}
CHUNK_SIZE = 128
TG_MAX_FILE_SIZE = 4194304000
HTTP_PROXY = ""
PROCESS_MAX_TIMEOUT = 3700
# TG Ids
LOG_CHANNEL = -1001798969594
OWNER_ID = 1288398723
# bot username without @
BOT_USERNAME = "AdvanceUrlUploaderBot"
# auth users
AUTH_USERS = [OWNER_ID, 1288398722, 1288398724, 1288398725]
</pre>
|