Skip to content

auth.importBotAuthorization

Layer 225

Constructor ID: 0x67a3ff2c
Returns: Authorization

Parameters

NameTypeDescription
flagsint32
api_idint32
api_hashstring
bot_auth_tokenstring

Example

go
result, err := client.Raw(&tg.ImportBotAuthorizationRequest{
    flags: 0,
    api_id: 0,
    api_hash: "",
    bot_auth_token: "",
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.