KeyboardButtonRequestUser¶
- class litegram.types.keyboard_button_request_user.KeyboardButtonRequestUser(*, request_id: int, user_is_bot: bool | None = None, user_is_premium: bool | None = None, **extra_data: Any)[source]¶
This object defines the criteria used to request a suitable user. The identifier of the selected user will be shared with the bot when the corresponding button is pressed. More about requesting users »
Deprecated since version API:7.0: https://core.telegram.org/bots/api-changelog#december-29-2023
Source: https://core.telegram.org/bots/api#keyboardbuttonrequestuser
- request_id: int¶
Signed 32-bit identifier of the request, which will be received back in the
litegram.types.user_shared.UserSharedobject. Must be unique within the message