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

IConversationStore.createGroupChat() method

Create a new group chat

Signature
createGroupChat(members: UserId[]): Promise<IConversationRoom>;

Remarks

The initial members will be the current user and all users given in the members argument.

Parameters

ParameterTypeDescription
membersUserId[]

Initial members of the conversation

Returns

TypeDescription
Promise<IConversationRoom>

The created conversation

Throws

Error

TooManyMembersInConversation

InactiveMembersInConversation

UserNotEntitled

InformationBarrierViolation

UserConnectionMissing

UserInactive