Home > borogove > persistence > Sqlite > getChatsUnreadDetails

persistence.Sqlite.getChatsUnreadDetails() method

Signature:

getChatsUnreadDetails(accountId: string, chats: Array<borogove markdown="1"_Chat>): Promise<Array markdown="1"<{chatId: string, message: borogove_ChatMessage, unreadCount: number}>>;

Parameters

Parameter Type Description
accountId string
chats Array<borogove_Chat>

Returns:

Promise<Array<{chatId: string, message: borogove_ChatMessage, unreadCount: number}>>