bots.checkUsername
No description available.
func (c *Client) BotsCheckUsername(ctx context.Context, username string) (bool, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.BotsCheckUsername(ctx, username)
if err != nil {
return err
}
_ = res // bool
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Username | string | yes | Username field of BotsCheckUsernameRequest. |
Returns
bool
References
- Official documentation
- Generated Go reference
- TL definition:
bots.checkUsername#87f2219b