Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ async def downdb(msgid):
|
|
43 |
|
44 |
async def updb():
|
45 |
client = TelegramClient(None, api_id, api_hash)
|
46 |
-
|
47 |
path = 'instance/database.db'
|
48 |
fle = await fast_upload(client, file_location=path)
|
49 |
await client.send_file(channel,fle, force_document=True)
|
|
|
43 |
|
44 |
async def updb():
|
45 |
client = TelegramClient(None, api_id, api_hash)
|
46 |
+
await client.start(bot_token=bot_token)
|
47 |
path = 'instance/database.db'
|
48 |
fle = await fast_upload(client, file_location=path)
|
49 |
await client.send_file(channel,fle, force_document=True)
|