ConversationService.GetUnread Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

GetUnread(int?, QueryOptions)

Get conversations with unread messages for the specified user.

public static PagedList<Conversation> GetUnread(int? userId = default(int? ), QueryOptions opts = null)

Parameters

userId
int?

Id of the User for which to get unread conversations, null to get conversations for the current user.

opts
QueryOptions

Query options for paging, sorting etc.

Returns

Weavy.Core.Collections.PagedList

Returns a paged list of Conversation items.