Skip to content

CreateConversationInput

Defined in: libs/ccs-chat-client/src/types.ts:102

type: ConversationType

Defined in: libs/ccs-chat-client/src/types.ts:103


optional name?: string

Defined in: libs/ccs-chat-client/src/types.ts:105

Required for GROUP and CHANNEL.


optional description?: string

Defined in: libs/ccs-chat-client/src/types.ts:106


optional visibility?: ConversationVisibility

Defined in: libs/ccs-chat-client/src/types.ts:108

CHANNEL only; the API defaults to PUBLIC.


member_user_ids: string[]

Defined in: libs/ccs-chat-client/src/types.ts:110

Every id must be an eligible member of the tenant and application (else 422). DIRECT = exactly 2.


optional actor_user_id?: string

Defined in: libs/ccs-chat-client/src/types.ts:112

Optional tenant user recorded as creator (and GROUP/CHANNEL OWNER). Must be an eligible member.