Dialog

class pyrogram.Dialog

A user’s dialog.

Parameters
  • chat (Chat) – Conversation the dialog belongs to.

  • top_message (Message) – The last message sent in the dialog at this time.

  • unread_messages_count (int) – Amount of unread messages in this dialog.

  • unread_mentions_count (int) – Amount of unread messages containing a mention in this dialog.

  • unread_mark (bool) – True, if the dialog has the unread mark set.

  • is_pinned (bool) – True, if the dialog is pinned.