@hatang/sdk
Guide
Developer hub
Preparing search index...
ChatMessage
Interface ChatMessage
interface
ChatMessage
{
attachments
:
ChatAttachment
[]
;
content
:
string
;
content_type
:
"text"
|
"file"
;
conversation_id
:
string
;
created_at
:
string
;
delivery_error
?:
string
|
null
;
delivery_status
?:
"pending"
|
"sent"
|
"failed"
|
null
;
id
:
string
;
kind
:
"message"
;
metadata
?:
Record
<
string
,
unknown
>
;
read_at
?:
string
|
null
;
sender_id
:
string
|
null
;
sender_name
?:
string
|
null
;
sender_type
:
ChatSenderType
;
seq
:
number
;
visibility
:
"public"
|
"private"
;
}
Index
Properties
attachments
content
content_
type
conversation_
id
created_
at
delivery_
error?
delivery_
status?
id
kind
metadata?
read_
at?
sender_
id
sender_
name?
sender_
type
seq
visibility
Properties
attachments
attachments
:
ChatAttachment
[]
content
content
:
string
content_
type
content_type
:
"text"
|
"file"
conversation_
id
conversation_id
:
string
created_
at
created_at
:
string
Optional
delivery_
error
delivery_error
?:
string
|
null
Optional
delivery_
status
delivery_status
?:
"pending"
|
"sent"
|
"failed"
|
null
id
id
:
string
kind
kind
:
"message"
Optional
metadata
metadata
?:
Record
<
string
,
unknown
>
Optional
read_
at
read_at
?:
string
|
null
sender_
id
sender_id
:
string
|
null
Optional
sender_
name
sender_name
?:
string
|
null
sender_
type
sender_type
:
ChatSenderType
seq
seq
:
number
visibility
visibility
:
"public"
|
"private"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
attachments
content
content_
type
conversation_
id
created_
at
delivery_
error
delivery_
status
id
kind
metadata
read_
at
sender_
id
sender_
name
sender_
type
seq
visibility
Guide
Developer hub
@hatang/sdk
Loading...