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

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool;

Parameters #

NameTypeDescription
pending_updates_countintNumber of pending updates
messagestringError message, if present

Result #

Bool

Only bots can use this method #

Possible errors #

CodeTypeDescription
400USER_BOT_REQUIREDThis method can only be called by a bot.