Layer 220
method Bots
bots.resetBotCommands#3d8de0f9 scope:BotCommandScope lang_code:string = Bool;

Parameters

Name Type Description
Scope BotCommandScope Command scope
LangCode string Language code

Returns

Bool

Possible Errors

Code Type Description
400 LANG_CODE_INVALID The specified language code is invalid.
400 USER_BOT_REQUIRED This method can only be called by a bot.

Gogram Example

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