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

IConversationStore.joinConversation() method

Join a conversation

Signature
joinConversation(conversationId: ConversationId): Promise<IConversation>;

Remarks

The conversation must be a public room.

Parameters

ParameterTypeDescription
conversationIdConversationId

The conversation to join

Returns

TypeDescription
Promise<IConversation>

The conversation that was joined

Throws

Error

ConversationNotFound

UserNotFound

UserNotEntitled

TooManyMembersInConversation

InactiveMembersInConversation

InformationBarrierViolation

UserConnectionMissing

BannedUser

UserInactive

ConversationInactive

NotARoom