Skip to content

bots.setBotInfo

Layer 225

Constructor ID: 0x10cf3123
Returns: Bool

Parameters

NameTypeDescription
botInputUser (flags.2, optional)
lang_codestring
namestring (flags.3, optional)
aboutstring (flags.0, optional)
descriptionstring (flags.1, optional)

Example

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

Released under the Apache-2.0 License.