KeyboardButtonRequestManagedBot¶
class telegram.KeyboardButtonRequestManagedBot(request_id, suggested_name=None, suggested_username=None, *, api_kwargs=None)[source]¶Bases: telegram.TelegramObject
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 telegram.Message with the field telegram.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_id is equal.
Available In
Added in version 22.8.
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.
Signed 32-bit identifier of the request. Must be unique within the message.
Type: suggested_name[source]¶Optional. Suggested name for the bot.
Type: suggested_username[source]¶Optional. Suggested username for the bot.
Type: