bots.getAdminedBots
Get a list of bots owned by the current user
func (c *Client) BotsGetAdminedBots(ctx context.Context) ([]UserClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.BotsGetAdminedBots(ctx)
if err != nil {
return err
}
_ = res // []UserClass
return nil
})
Parameters
This method takes no parameters.
Returns
References
- Official documentation
- Generated Go reference
- TL definition:
bots.getAdminedBots#b0711d83