RequestPeerTypeUser

class pyrogram.types.RequestPeerTypeUser

Object used to request clients to send a user identifier.

Parameters:
  • button_id (int, optional) – Button identifier.

  • is_bot (bool, optional) – If True, show only Bots.

  • is_premium (bool, optional) – If True, show only Premium Users.

  • max (int, optional) – Maximum number of users to be returned. default 1.

  • is_name_requested (bool, optional) – If True, User name is requested. default True.

  • is_username_requested (bool, optional) – If True, User username is requested. default True.

  • is_photo_requested (bool, optional) – If True, User photo is requested. default True.