Layer 220
method Bots
help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool;

Parameters

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

Returns

Bool

Possible Errors

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

Gogram Example

// HelpSetBotUpdatesStatus - positional arguments
result, err := client.HelpSetBotUpdatesStatus(0, "...")
if err != nil {
    // handle error
}
// result is *tg.Bool