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)
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
TTL period of all messages in this dialog
Number of unread messages
Number of unread mentions
Number of unread reactions
Static
filterCreate a filter predicate for the given Folder.
Returned predicate can be used in Array.filter()
Folder to filter for
Whether to exclude pinned folders
Static
findFind pinned dialogs from a list of dialogs
Dialogs list
Optional
folder: RawDialogFilterIf passed, status of pin will be checked against this folder, and not globally
Static
parseParse a list of dialogs from a TL object
TL object
Optional
limit: numberMaximum number of dialogs to parse
A dialog.
Think of it as something that is listed in Telegram's main window.