KeyboardButtonRequestUsers¶
- class pyrogram.types.KeyboardButtonRequestUsers¶
Contains information about a user peer type.
- Parameters:
button_id (
int) – Identifier of button.user_is_bot (
bool, optional) – Pass True to request bots, pass False to request regular users. If not specified, no additional restrictions are applied.user_is_premium (
bool, optional) – Pass True to request premium users, pass False to request non-premium users. If not specified, no additional restrictions are applied.max_quantity (
int, optional) – The maximum number of users to be selected; 1-10. Defaults to 1.request_name (
bool, optional) – Pass True to request the users’ first and last name If not specified, the name won’t be requested.request_username (
bool, optional) – Pass True to request the users’ username If not specified, the username won’t be requested.request_photo (
bool, optional) – Pass True to request the users’ photo If not specified, the photo won’t be requested.