bots.resetBotCommands

Clear bot commands for the specified bot scope and language code

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

Parameters

Name Type Description
scope BotCommandScope Command scope
lang_code string Language code

Result

Bool

Possible errors

Code Type Description
400 LANG_CODE_INVALID The specified language code is invalid.

Bots can use this method