to our bot users.we save unique user id of our users in a database.
Telegram has a limit for requests per second.you can only send less than 30 requests per second to bot API.
I want to send bulk messages to all of my users for example 20000 users.
Is there a good way to manage this??
My approach is that i can set max execution time to 0 so that i can run the script longer than 30 seconds(default).and then in a loop i can set a delay for every 30 requests.is that ok??am i doing right??!
Thanks
Yes
is this limit applicable only to sendMessage or to every method?
Обсуждают сегодня