bots.editAccessSettings
No description available.
func (c *Client) BotsEditAccessSettings(ctx context.Context, request *BotsEditAccessSettingsRequest) (bool, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.BotsEditAccessSettings(ctx, &tg.BotsEditAccessSettingsRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // bool
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Restricted | bool | — | Restricted field of BotsEditAccessSettingsRequest. |
Bot | InputUserClass | yes | Bot field of BotsEditAccessSettingsRequest. |
AddUsers | []InputUserClass | — | AddUsers field of BotsEditAccessSettingsRequest. |
Returns
bool
References
- Official documentation
- Generated Go reference
- TL definition:
bots.editAccessSettings#31813cd8