KeyboardButtonRequestManagedBot¶
- class aiogram.types.keyboard_button_request_managed_bot.KeyboardButtonRequestManagedBot(*, request_id: int, suggested_name: str | None = None, suggested_username: str | None = None, **extra_data: Any)[source]¶
This object defines the parameters for the creation of a managed bot. Information about the created bot will be shared with the bot using the update managed_bot and a
aiogram.types.message.Messagewith the field managed_bot_created.Source: https://core.telegram.org/bots/api#keyboardbuttonrequestmanagedbot
- request_id: int¶
Signed 32-bit identifier of the request. Must be unique within the message
- suggested_name: str | None¶
Optional. Suggested name for the bot
- suggested_username: str | None¶
Optional. Suggested username for the bot. The username must end with ‘bot’. If the user creating the bot has a Telegram Premium subscription, then the username can also end with ‘agent’, ‘ai’, ‘app’, ‘game’, or ‘gay’; in this case, the username will be assigned to the bot as a secondary username, and a regular username ending with ‘bot’ will be assigned to the bot automatically