ChatMessagePayload
Defined in: core/types.ts:18
The Chat API’s message representation (same as GET .../messages items).
Extends
Section titled “Extends”Properties
Section titled “Properties”tenant_id
Section titled “tenant_id”tenant_id:
string
Defined in: core/types.ts:7
Inherited from
Section titled “Inherited from”application_id
Section titled “application_id”application_id:
string
Defined in: core/types.ts:8
Inherited from
Section titled “Inherited from”message_id
Section titled “message_id”message_id:
string
Defined in: core/types.ts:19
conversation_id
Section titled “conversation_id”conversation_id:
string
Defined in: core/types.ts:20
sender_user_id
Section titled “sender_user_id”sender_user_id:
string|null
Defined in: core/types.ts:21
sender_client_id
Section titled “sender_client_id”sender_client_id:
string|null
Defined in: core/types.ts:22
sender
Section titled “sender”sender:
ChatUserRef|null
Defined in: core/types.ts:23
body:
string
Defined in: core/types.ts:24
message_type
Section titled “message_type”message_type:
"TEXT"|"SYSTEM"|"FILE"
Defined in: core/types.ts:25
reply_to_message_id
Section titled “reply_to_message_id”reply_to_message_id:
string|null
Defined in: core/types.ts:26
attachments
Section titled “attachments”attachments:
object[]
Defined in: core/types.ts:27
file_id
Section titled “file_id”file_id:
string
name:
string
mime_type
Section titled “mime_type”mime_type:
string
size:
number
url:
string|null
status
Section titled “status”status:
"ACTIVE"|"EDITED"|"DELETED"
Defined in: core/types.ts:28
edited_at
Section titled “edited_at”edited_at:
string|null
Defined in: core/types.ts:29
deleted_at
Section titled “deleted_at”deleted_at:
string|null
Defined in: core/types.ts:30
created_at
Section titled “created_at”created_at:
string
Defined in: core/types.ts:31
updated_at
Section titled “updated_at”updated_at:
string
Defined in: core/types.ts:32
reactions
Section titled “reactions”reactions:
object[]
Defined in: core/types.ts:33
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: core/types.ts:34