Dialog

class pyrogram.raw.types.Dialog

Chat.

Constructor type of Dialog.

Details
  • Layer: 126

  • ID: 0x2c171f72

Parameters
  • peer (Peer) – The chat.

  • top_message (int 32-bit) – The latest message ID.

  • read_inbox_max_id (int 32-bit) – Position up to which all incoming messages are read.

  • read_outbox_max_id (int 32-bit) – Position up to which all outgoing messages are read.

  • unread_count (int 32-bit) – Number of unread messages.

  • unread_mentions_count (int 32-bit) – Number of unread mentions.

  • notify_settings (PeerNotifySettings) – Notification settings.

  • pinned (bool, optional) – Is the dialog pinned.

  • unread_mark (bool, optional) – Whether the chat was manually marked as unread.

  • pts (int 32-bit, optional) – PTS.

  • draft (DraftMessage, optional) – Message draft.

  • folder_id (int 32-bit, optional) – Peer folder ID, for more info click here.