ConversationService.GetConversations Method

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

GetConversations(int, bool?, QueryOptions)

Get all conversations where the specified user is member.

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

Parameters

userId
int

Id of the user for which to get conversations.

archived
bool?

Flag to indicate if archived conversations should be returned, true returns only archived conversations, false returns only non-archived conversations and null ignores the archived field

Returns

Weavy.Core.Collections.PagedList

Returns a list of Conversation objects.