Layer 227
BotsAccessSettingsObj
Access restriction settings for a managed bot.
constructor
bots.accessSettings#dd1fbf93 flags:# restricted:flags.0?true add_users:flags.1?Vector<User> = bots.AccessSettings;
Parameters
| Name | Type | Description |
|---|---|---|
| Restricted | flags .0? true | If set, only the owner and the users in add_users can access the managed bot |
| AddUsers | flags .1? Vector < User > | Additional users (max 10, excluding the owner) who can access the managed bot; only present when restricted is set |
Returns
bots.AccessSettingsGogram Example
// Creating BotsAccessSettingsObj constructor obj := &tg.BotsAccessSettingsObj{ Restricted: nil, AddUsers: nil, }