ConversationService.RemoveMember Method

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

RemoveMember(int, int?, bool)

Removes a User from the specified Conversation.

public static void RemoveMember(int id, int? userId = default(int? ), bool sudo = false)

Parameters

id
int

Id of the Conversation to leave.

userId
int?

Id of the User that leaves the conversation, null for the current user.

sudo
bool

true to perform action as super user, otherwise false.