Closed gorefieend closed 5 months ago
You must not call getMessages to get new messages in a supergroup. All new messages in joined or opened chats are received from TDLib in updates.
sometimes Telegram lacks on sending new messages on heavy groups (which has 10k+ users) so calling getMessages is a good way to get news messages but it has limits to call for every X ms. I guess @gorefieend is asking what's the best interval to call this method in order to avoid ban.
There is no such interval. Apps are not supposed to call getMessages with identifiers of non-existent messages.
@ne0c0de exactly!!
what is the max possible interval without getting limited? in ms
@gorefieend Have you found any documentation about the api limit?
nope. it is not public
hello,
how often can i call function get_Messages() go manually poll for a new messages as user in supergroup?
every 50ms? every 100ms? 500ms?