Draft message in this dialog
Whether this dialog is archived
Whether this chat was manually marked as unread
Whether this dialog is muted.
If null, the default account-level setting should be used.
Whether this dialog is pinned
Whether this chat should be considered unread (i.e. has more than 1 unread message, or has a "manually unread" mark)
The latest message sent in this chat (if any)
ID of the last read message in this dialog
ID of the last read ingoing message in this dialog
ID of the last read outgoing message in this dialog
Peer that this dialog represents
TTL period of all messages in this dialog
Number of unread messages
Number of unread mentions
Number of unread reactions
StaticfilterCreate a filter predicate for the given Folder.
Returned predicate can be used in Array.filter()
Folder to filter for
Whether to exclude pinned folders
StaticfindFind pinned dialogs from a list of dialogs
Dialogs list
Optionalfolder: RawDialogFilterIf passed, status of pin will be checked against this folder, and not globally
StaticparseParse a list of dialogs from a TL object
TL object
Optionallimit: numberMaximum number of dialogs to parse
A dialog.
Think of it as something that is listed in Telegram's main window.