Kaizen
Browse modulesChatchat/serverInterfaces

Interface: ChatServiceOptions

Defined in: server/chat/conversations.ts:43

Methods

authorizeParticipants()

authorizeParticipants(input: {
  actorIds: readonly string[];
  conversationId?: string;
  principal: {
     actorId: string;
     organizationId: string;
  };
}): Promise<boolean>;

Defined in: server/chat/conversations.ts:45

Authorize the complete initial roster (including the creator), or the actors being added.

Parameters

ParameterType
input{ actorIds: readonly string[]; conversationId?: string; principal: { actorId: string; organizationId: string; }; }
input.actorIdsreadonly string[]
input.conversationId?string
input.principal{ actorId: string; organizationId: string; }
input.principal.actorIdstring
input.principal.organizationIdstring

Returns

Promise<boolean>

On this page