tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.13k stars 1.45k forks source link

about bot login limit #2637

Closed xucoanthony closed 12 months ago

xucoanthony commented 1 year ago

I want to synchronize my channel's messages through a web page. So, I would put a bot in my channel, when users visit my page, JavaScript tdweb will log in this bot and read history messages through this bot. Here’s the question , in this case, this bot may be logged in at many different devices and locations at the same time. So, will telegram limit the same time logins of the bot, and if there is a limit, what is the policy? Btw, this bot will mostly only read messages and will not send messages.

And if different users call downloadFile at same time through the bot on different device, is there any downloading limit?

levlam commented 1 year ago

User accounts are intended for such usages, but you can use actual bot account and https://core.telegram.org/bots/api to get all new posts from the channel in updates and show them anywhere.