account.confirmBotConnection
No description available.
func (c *Client) AccountConfirmBotConnection(ctx context.Context, botid InputUserClass) (bool, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.AccountConfirmBotConnection(ctx, botid)
if err != nil {
return err
}
_ = res // bool
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
BotID | InputUserClass | yes | BotID field of AccountConfirmBotConnectionRequest. |
Returns
bool
References
- Official documentation
- Generated Go reference
- TL definition:
account.confirmBotConnection#67ed1f68