ChatMessage
Defined in: libs/ccs-chat-user-client/src/types.ts:105
Properties
Section titled “Properties”message_id
Section titled “message_id”message_id:
string
Defined in: libs/ccs-chat-user-client/src/types.ts:106
conversation_id
Section titled “conversation_id”conversation_id:
string
Defined in: libs/ccs-chat-user-client/src/types.ts:107
tenant_id
Section titled “tenant_id”tenant_id:
string
Defined in: libs/ccs-chat-user-client/src/types.ts:108
application_id
Section titled “application_id”application_id:
string
Defined in: libs/ccs-chat-user-client/src/types.ts:109
sender_user_id
Section titled “sender_user_id”sender_user_id:
string|null
Defined in: libs/ccs-chat-user-client/src/types.ts:110
sender_client_id
Section titled “sender_client_id”sender_client_id:
string|null
Defined in: libs/ccs-chat-user-client/src/types.ts:112
Set when the tenant’s backend 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-user-client/src/types.ts:113
body:
string
Defined in: libs/ccs-chat-user-client/src/types.ts:115
Empty for a deleted message (a tombstone).
message_type
Section titled “message_type”message_type:
MessageType
Defined in: libs/ccs-chat-user-client/src/types.ts:116
reply_to_message_id
Section titled “reply_to_message_id”reply_to_message_id:
string|null
Defined in: libs/ccs-chat-user-client/src/types.ts:117
attachments
Section titled “attachments”attachments:
ChatAttachment[]
Defined in: libs/ccs-chat-user-client/src/types.ts:118
status
Section titled “status”status:
"ACTIVE"|"DELETED"|"EDITED"
Defined in: libs/ccs-chat-user-client/src/types.ts:119
edited_at
Section titled “edited_at”edited_at:
string|null
Defined in: libs/ccs-chat-user-client/src/types.ts:120
deleted_at
Section titled “deleted_at”deleted_at:
string|null
Defined in: libs/ccs-chat-user-client/src/types.ts:121
created_at
Section titled “created_at”created_at:
string
Defined in: libs/ccs-chat-user-client/src/types.ts:122
updated_at
Section titled “updated_at”updated_at:
string
Defined in: libs/ccs-chat-user-client/src/types.ts:123
reactions
Section titled “reactions”reactions:
object[]
Defined in: libs/ccs-chat-user-client/src/types.ts:124
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-user-client/src/types.ts:125