Dialog#

class pyrogram.raw.types.Dialog#

Chat.

Constructor of Dialog.

Details:
  • Layer: 158

  • ID: D58A08C6

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.

  • unread_reactions_count (int 32-bit) – Number of unread reactions to messages you sent.

  • 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.

  • ttl_period (int 32-bit, optional) – Time-to-live of all messages sent in this dialog.