Layer 231
method
account.confirmBotConnection#67ed1f68 bot_id:InputUser = Bool;

Parameters

Name Type Description
BotId InputUser The bot whose connection to the account should be confirmed

Returns

Bool

Gogram Example

bot, _ := client.GetSendableUser("gogrambot")
ok, err := client.AccountConfirmBotConnection(bot)
if err != nil {
	log.Fatal(err)
}
fmt.Println("bot connection confirmed:", ok)