bots.resetBotCommands #

Clear bot commands for the specified bot scope and language code

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
bots.resetBotCommands#3d8de0f9 scope:BotCommandScope lang_code:string = Bool;

Parameters #

NameTypeDescription
scopeBotCommandScopeCommand scope
lang_codestringLanguage code

Result #

Bool

Only bots can use this method #

Possible errors #

CodeTypeDescription
400LANG_CODE_INVALIDThe specified language code is invalid.
400USER_BOT_REQUIREDThis method can only be called by a bot.