bots.getBotCommands
Layer 225
Constructor ID: 0xe34c0dd6
Returns: BotCommand
Parameters
| Name | Type | Description |
|---|---|---|
scope | BotCommandScope | |
lang_code | string |
Example
go
result, err := client.Raw(&tg.GetBotCommandsRequest{
scope: nil, // BotCommandScope
lang_code: "",
})
if err != nil {
panic(err)
}
print(result)