Function: mostRecentUnreadConversation() ​
ts
function mostRecentUnreadConversation(
channels,
unread,
mentions?
): IChannel | undefined;Defined in: notifications.ts:10
The newest conversation carrying the badge the user is about to open.
Parameters ​
| Parameter | Type |
|---|---|
channels | readonly IChannel[] |
unread | Record<number, number> |
mentions? | Record<number, number> |
Returns ​
IChannel | undefined