KeyboardButtonRequestManagedBot¶
- class telegram.KeyboardButtonRequestManagedBot(request_id, suggested_name=None, suggested_username=None, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectThis 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
telegram.Messagewith the fieldtelegram.Message.managed_bot_created.Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
request_idis equal.Available In
Added in version 22.8.
- Parameters:
request_id (
int) – Signed 32-bit identifier of the request. Must be unique within the message.suggested_name (
str, optional) – Suggested name for the bot.suggested_username (
str, optional) – Suggested username for the bot.