bots.accessSettings

Access restriction settings for a managed bot ».

bots.accessSettings#dd1fbf93 flags:# restricted:flags.0?true add_users:flags.1?Vector<User> = bots.AccessSettings;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
restricted flags.0?true If set, only the owner and the users in add_users can access the managed bot
add_users flags.1?Vector<User> Additional users (max 10, excluding the owner) who can access the managed bot; only present when restricted is set

Type

bots.AccessSettings

Related pages

Managed bots

Users can create managed bots (which are controlled by a specific manager bot) directly through the MTProto API, without interacting with @BotFather.