bots.accessSettings #

Access restriction settings for a managed bot ».

Layer 223

Constructor schema is available as of layer 225. Switch »

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
restrictedflags.0?trueIf set, only the owner and the users in add_users can access the managed bot
add_usersflags.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

Managed bots #

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