then
await client.sign_in(bot_token = bot_token)
This is true ?
Or should I just sign this for the first time ?
client.start will ignore the bot_token if the name in TelegramClient(name, ...) is authorized. once you received that FloodWait on ImportBotAuthorization, it means you're deleting the name m.session. which is wrong
Обсуждают сегодня