Skip to content

bots.getBotCommands

Layer 225

Constructor ID: 0xe34c0dd6
Returns: BotCommand

Parameters

NameTypeDescription
scopeBotCommandScope
lang_codestring

Example

go
result, err := client.Raw(&tg.GetBotCommandsRequest{
    scope: nil, // BotCommandScope
    lang_code: "",
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.