This script is gonna select all database records(ex. 100,000 records) and send a specific message to them using telegram bot API. How should I do this?
Telegram has a limitation policy that lets you send at most 30 requests per second. So i have to delay the script for each record for maybe 1 second. So it may take even one or more days to finish the whole notification sending to all users. As you know apache has limitations of 30 seconds for executing. How do i solve this?
Thanks
I would do it in Python
wait! Telegram will repeat again if you do not respond in a reasonable time
Обсуждают сегодня