help.setBotUpdatesStatus

Informs the server about the number of pending bot updates if they haven't been processed for a long time; for bots only

 Method schema is available as of layer 58. Switch ยป

Parameters

Name Type Description
pending_updates_count int Number of pending updates
message string Error message, if present

Result

Bool

Possible errors

Code Type Description
400 USER_BOT_REQUIRED This method can only be called by a bot.

Bots can use this method