Interface: ChatApi
Reading chats.
Properties
readActive
readonlyreadActive: () =>Promise<ActiveChat|null>
The open chat, or null when none is open. Needs chat:read-active.
Returns
Promise<ActiveChat | null>
readUnreadSummary
readonlyreadUnreadSummary: () =>Promise<readonlyUnreadChat[]>
Every chat with unread messages. Needs chat:read-unread-summary.
Returns
Promise<readonly UnreadChat[]>