Home / @sym20/core-conversations / IConversationStore / leaveConversation

IConversationStore.leaveConversation() method

Leave a conversation

Signature
leaveConversation(conversationId: ConversationId): Promise<void>;

Remarks

The conversation must be a room that the current user is a member of.

Parameters

ParameterTypeDescription
conversationIdConversationId

The conversation to leave

Throws

Error

ConversationNotFound

UserNotEntitled

ConversationInactive

NotARoom

NoOwnerInConversation