1
0
Fork 0
forked from bioeb_org/ub4tg

fix for ADSL and other unstable connections

This commit is contained in:
Your Name 2024-12-10 18:55:42 +03:00
parent 14dfd2aec7
commit 6cfb846e81

View file

@ -60,7 +60,7 @@ class states:
@logger.catch
async def main():
async with TelegramClient(sessdb, api_id, api_hash) as client:
async with TelegramClient(sessdb, api_id, api_hash, timeout=300) as client:
client.parse_mode = "HTML"
logger.success('User-Bot started')
me = await client.get_me()