Dialog
- class pyrogram.raw.types.Dialog
Chat
Constructor of
Dialog
.- Details:
Layer:
194
ID:
D58A08C6
- Parameters:
peer (
Peer
) – The chattop_message (
int
32-bit
) – The latest message IDread_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 messagesunread_mentions_count (
int
32-bit
) – Number of unread mentionsunread_reactions_count (
int
32-bit
) – Number of unread reactions to messages you sentnotify_settings (
PeerNotifySettings
) – Notification settingspinned (
bool
, optional) – Is the dialog pinnedunread_mark (
bool
, optional) – Whether the chat was manually marked as unreadview_forum_as_messages (
bool
, optional) – Users may also choose to display messages from all topics of a forum as if they were sent to a normal group, using a “View as messages” setting in the local client. This setting only affects the current account, and is synced to other logged in sessions using the channels.toggleViewForumAsMessages method; invoking this method will update the value of this flag.pts (
int
32-bit
, optional) – PTSdraft (
DraftMessage
, optional) – Message draftfolder_id (
int
32-bit
, optional) – Peer folder ID, for more info click herettl_period (
int
32-bit
, optional) – Time-to-live of all messages sent in this dialog