Skip to content

CreateConversationInput

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

type: ConversationType

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


optional name?: string

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

Required for GROUP and CHANNEL.


optional description?: string

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


optional visibility?: ConversationVisibility

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

CHANNEL only; the API defaults to PUBLIC.


optional member_user_ids?: string[]

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

The other members; the caller is always added. DIRECT = exactly one other user.