server stop the bot keep receiving updates and when i run it(the server) again, it causes a huge amount of processings, can i do timeout for receiving updates or ignore those updates from webhook ? I currently using php-fpm + apache2 as web server.
with max connections and drop pending update, yes
you can pass true to drop_pending_updates in setWebhook method
No i want to know that too
Can't help by using this manually
to drop pending updates (ie : every time your bot doesn't reply with a sucess code "200" ) pass 1 (true ) to the parameter drop_pending_updates while setting up your webhook
I know i tried this not working Only error in the code can send message error https://t.me/BotTalk/639086 Now heroku not working with github i will try again when it's back
You don't heroku at all to set this up
Обсуждают сегодня