Conversation
|
Hi @tigra323. Could you please explain how this works? |
|
If you do not set these parameters, then after the program logs into your account, Telegram will log out from all devices |
|
Was checking the docs: https://docs.telethon.dev/en/stable/modules/client.html#telethon.client.telegrambaseclient.TelegramBaseClient The lib automatically sets these params. Doesn't look like it's necessary to hardcode values. |
Was that happening to you? I just logged into my account with tg-archive and none of my devices were logged out. |
|
maybe it's because of the old version of Telethon that was required before or something else. But when I used Telethon before I was constantly getting out of all devices, adding these parameters helped me, but it’s strange that even after installing tg-archive, which updated Telethon to version 1.29.3 (required then) when I used tg-archive I got out of all devices again, but after adding these parameters I no longer got out of devices |
Fixes error that caused logout from all devices