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.

Added in version 22.8.

Parameters:
request_id[source]

Signed 32-bit identifier of the request. Must be unique within the message.

Type:

int

suggested_name[source]

Optional. Suggested name for the bot.

Type:

str

suggested_username[source]

Optional. Suggested username for the bot.

Type:

str