Constructors
Properties
Readonly
_messages
Readonly
_peers
Readonly
raw
Accessors
draftMessage
- get draftMessage(): null | DraftMessage
isArchived
- get isArchived(): boolean
Returns boolean
isManuallyUnread
- get isManuallyUnread(): boolean
Returns boolean
isMuted
- get isMuted(): null | boolean
Returns null | boolean
isPinned
- get isPinned(): boolean
Returns boolean
isUnread
- get isUnread(): boolean
Returns boolean
lastMessage
- get lastMessage(): null | Message
Returns null | Message
lastRead
- get lastRead(): number
Returns number
lastReadIngoing
- get lastReadIngoing(): number
Returns number
lastReadOutgoing
- get lastReadOutgoing(): number
Returns number
peer
- get peer(): Peer
ttlPeriod
- get ttlPeriod(): null | number
Returns null | number
unreadCount
- get unreadCount(): number
Returns number
unreadMentionsCount
- get unreadMentionsCount(): number
Returns number
unreadReactionsCount
- get unreadReactionsCount(): number
Returns number
Methods
Static
filterFolder
- filterFolder(
folder: TypeDialogFilter,
excludePinned?: boolean,
): (val: Dialog) => boolean Returns (val: Dialog) => boolean
A dialog.
Think of it as something that is listed in Telegram's main window.