Used in a keyboardButtonRequestPeer by a manager bot to ask a user to create a new managed bot », see here » for more info.
Constructor schema is available as of layer 224. Switch »
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| bot_managed | flags.0?true | If set, requests to create a managed bot; must always be set. |
| suggested_name | flags.1?string | If set, the name to pre-fill in the managed bot creation flow |
| suggested_username | flags.2?string | If set, the username to pre-fill in the managed bot creation flow |
Prompts the user to select and share one or more peers with the bot using messages.sendBotRequestedPeer
Available only in private chats, in reply keyboards.
See peer requests for the full flow.
Users can create managed bots (which are controlled by a specific manager bot) directly through the MTProto API, without interacting with @BotFather.
Users can interact with your bot via buttons or even inline buttons, straight from inline messages in any chat.