RequestPeerTypeChat

class pyrogram.types.RequestPeerTypeChat

Object used to request clients to send a chat identifier.

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

  • is_creator (bool, optional) – If True, show only Chat which user is the owner.

  • is_bot_participant (bool, optional) – If True, show only Chat where bot is a participant.

  • is_username (bool, optional) – If True, show only Chat which has username.

  • is_forum (bool, optional) – If True, show only Chat which is a forum.

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

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

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

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