Search
Preparing search index...
The search index is not available
Agora Chat SDK API Reference
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Agora Chat SDK API Reference
MESSAGE
Message
Class Message
Hierarchy
Message
Index
Constructors
constructor
Properties
body
id
type
Methods
set
create
Constructors
constructor
new
Message
(
type
:
MessageType
, id
?:
string
)
:
Message
Parameters
type:
MessageType
Optional
id:
string
Returns
Message
Properties
body
body
:
any
id
id
:
string
type
type
:
MessageType
Methods
set
set
(
options
:
MessageSetParameters
)
:
void
设置消息体。
Parameters
options:
MessageSetParameters
Returns
void
Static
create
create
(
options
:
CreateMsgType
)
:
MessageBody
创建消息。
Parameters
options:
CreateMsgType
Returns
MessageBody
Modules
CHATROOM APIS
CHATSDK
CONNECTION
CONTACT APIS
EVENTHANDLER
GROUP APIS
MESSAGE
PRESENCE APIS
SLIENTMODE APIS
THREAD APIS
TRANSLATION APIS
TYPES
message/audio
message/channel
message/cmd
message/custom
message/delivery
message/file
message/img
message/location
message/read
message/text
message/video
Message
constructor
body
id
type
set
create
Generated using
TypeDoc
设置消息体。