Skip to content

bots.getBotInfo

Layer 225

Constructor ID: 0xdcd914fd
Returns: BotInfo

Parameters

NameTypeDescription
botInputUser (flags.0, optional)
lang_codestring

Example

go
result, err := client.Raw(&tg.GetBotInfoRequest{
    bot: nil, // InputUser
    lang_code: "",
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.