Expose chat pinned property (#2771)

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
This commit is contained in:
Thomas 2024-05-01 06:57:19 +02:00 • committed by GitHub
commit 41b280c769
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

4
index.d.ts vendored
View file

@ -1377,8 +1377,10 @@ declare namespace WAWebJS {
timestamp: number, timestamp: number,
/** Amount of messages unread */ /** Amount of messages unread */
unreadCount: number, unreadCount: number,
/** Last message fo chat */ /** Last message of chat */
lastMessage: Message, lastMessage: Message,
/** Indicates if the Chat is pinned */
pinned: boolean,
/** Archives this chat */ /** Archives this chat */
archive: () => Promise<void>, archive: () => Promise<void>,