ChatPreview#

class pyrogram.types.ChatPreview#

A chat preview.

Parameters:
  • title (str) – Title of the chat.

  • type (str) – Type of chat, can be either, “group”, “supergroup” or “channel”.

  • members_count (int) – Chat members count.

  • photo (Photo, optional) – Chat photo.

  • members (List of User, optional) – Preview of some of the chat members.