Skip to main content

bots.getAccessSettings

No description available.

func (c *Client) BotsGetAccessSettings(ctx context.Context, bot InputUserClass) (*BotsAccessSettings, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.BotsGetAccessSettings(ctx, bot)
if err != nil {
return err
}
_ = res // *BotsAccessSettings
return nil
})

Parameters

NameTypeRequiredDescription
BotInputUserClassyesBot field of BotsGetAccessSettingsRequest.

Returns

*BotsAccessSettings

References