opentele icon indicating copy to clipboard operation
opentele copied to clipboard

Too many requests (caused by InviteToChannelRequest)

Open Ch4ttY opened this issue 2 years ago • 0 comments

Hey. Could you help me to find out how to avoid the error "Too many requests (caused by InviteToChannelRequest)", when I do inviting from a few accounts(one after another) I got this error on a the second account. I guess the Telegram sees that my two accounts have some similar data, like default app_id/app_hash or smgth?!

Should I generate a new API or smgth like that to show that I user different account?

My code: tdesk = TDesktop(tdata_path) async with await TelegramClient.FromTDesktop(tdesk, flag=UseCurrentSession, proxy=ipv4_sock5_proxy,connection_retries=3, receive_updates=False)

P.S Help me understand how to use your library through tdata format account, so that the Tlegram does not consider that my conditionally 5 accounts are the same and does not restrict them as one and the same, and in general is it possible to use your library so, if not, how? Do I need to generate API for UsingCurrentSession or not, how that work?

Ch4ttY avatar Jun 24 '22 23:06 Ch4ttY