Dialog#
- class pyrogram.types.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_reactions_count (
int
) – Amount of unread messages containing a reaction in this dialog.unread_mark (
bool
) – True, if the dialog has the unread mark set.is_pinned (
bool
) – True, if the dialog is pinned.folder_id (
int
, optional) – Unique identifier (int) of the folder.ttl_period (
int
, optional) – Time-to-live of all messages sent in this dialog (in seconds).raw (
Dialog
, optional) – The raw object, as received from the Telegram API.