Dialog

class pyrogram.api.types.Dialog(peer, top_message: int, read_inbox_max_id: int, read_outbox_max_id: int, unread_count: int, unread_mentions_count: int, notify_settings, pinned: bool = None, unread_mark: bool = None, pts: int = None, draft=None)
ID

0xe4def5db

Parameters:
  • peer – Either PeerUser, PeerChat or PeerChannel
  • top_messageint 32-bit
  • read_inbox_max_idint 32-bit
  • read_outbox_max_idint 32-bit
  • unread_countint 32-bit
  • unread_mentions_countint 32-bit
  • notify_settingsPeerNotifySettings
  • pinned (optional) – bool
  • unread_mark (optional) – bool
  • pts (optional) – int 32-bit
  • draft (optional) – Either DraftMessageEmpty or DraftMessage