Skip to content

ChatMessage

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

message_id: string

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


conversation_id: string

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


tenant_id: string

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


application_id: string

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


sender_user_id: string | null

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


sender_client_id: string | null

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

Set when a machine client sent it on behalf of sender_user_id (or as a SYSTEM message).


sender: ChatUserRef | null

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


body: string

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

Empty for a deleted message (a tombstone).


message_type: MessageType

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


reply_to_message_id: string | null

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


attachments: ChatAttachment[]

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


status: "ACTIVE" | "DELETED" | "EDITED"

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


edited_at: string | null

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


deleted_at: string | null

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


created_at: string

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


updated_at: string

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


reactions: object[]

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

emoji: string

count: number

reacted_by_me: boolean


mentioned_user_ids: string[]

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