ConversationService.GetOneOnOne Method

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

GetOneOnOne(int, int, bool)

Returns existing one-on-one conversation between 2 people, or null if no such conversation exists.

public static Conversation GetOneOnOne(int first, int second, bool filter = true)

Parameters

first
int

Id of first user

second
int

If of second user

filter
bool

Returns

Conversation

Returns an instance of the Conversation class.