MessagesController.LeaveConversation Method

Namespace:
Weavy.Web.Api.Controllers
Assembly:
Weavy.Web.dll

Overloads

LeaveConversation(int) Leave a conversation.
LeaveConversation(int, int) Removes a user from the conversation.

LeaveConversation(int)

Leave a conversation.

public Conversation LeaveConversation(int id)

Parameters

id
int

The conversation id.

Returns

Conversation

The left conversation.

LeaveConversation(int, int)

Removes a user from the conversation.

public Conversation LeaveConversation(int id, int member)

Parameters

id
int

The conversation id.

member
int

The member to remove

Returns

Conversation

The left conversation.