ChatMessage
Defined in: libs/ccs-chat-client/src/types.ts:79
Properties
Section titled “Properties”message_id
Section titled “message_id”message_id:
string
Defined in: libs/ccs-chat-client/src/types.ts:80
conversation_id
Section titled “conversation_id”conversation_id:
string
Defined in: libs/ccs-chat-client/src/types.ts:81
tenant_id
Section titled “tenant_id”tenant_id:
string
Defined in: libs/ccs-chat-client/src/types.ts:82
application_id
Section titled “application_id”application_id:
string
Defined in: libs/ccs-chat-client/src/types.ts:83
sender_user_id
Section titled “sender_user_id”sender_user_id:
string|null
Defined in: libs/ccs-chat-client/src/types.ts:84
sender_client_id
Section titled “sender_client_id”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
Section titled “sender”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
Section titled “message_type”message_type:
MessageType
Defined in: libs/ccs-chat-client/src/types.ts:90
reply_to_message_id
Section titled “reply_to_message_id”reply_to_message_id:
string|null
Defined in: libs/ccs-chat-client/src/types.ts:91
attachments
Section titled “attachments”attachments:
ChatAttachment[]
Defined in: libs/ccs-chat-client/src/types.ts:92
status
Section titled “status”status:
"ACTIVE"|"DELETED"|"EDITED"
Defined in: libs/ccs-chat-client/src/types.ts:93
edited_at
Section titled “edited_at”edited_at:
string|null
Defined in: libs/ccs-chat-client/src/types.ts:94
deleted_at
Section titled “deleted_at”deleted_at:
string|null
Defined in: libs/ccs-chat-client/src/types.ts:95
created_at
Section titled “created_at”created_at:
string
Defined in: libs/ccs-chat-client/src/types.ts:96
updated_at
Section titled “updated_at”updated_at:
string
Defined in: libs/ccs-chat-client/src/types.ts:97
reactions
Section titled “reactions”reactions:
object[]
Defined in: libs/ccs-chat-client/src/types.ts:98
emoji:
string
count:
number
reacted_by_me
Section titled “reacted_by_me”reacted_by_me:
boolean
mentioned_user_ids
Section titled “mentioned_user_ids”mentioned_user_ids:
string[]
Defined in: libs/ccs-chat-client/src/types.ts:99