new SimplifiedMessage()
Simplified message object, used to display combined messages (supported from v2.10.1)
Properties:
Name | Type | Description | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
nick |
String |
Nickname of the message sender |
|||||||||||||||||||||||||
avatar |
String |
Profile photo address of the message sender |
|||||||||||||||||||||||||
from |
String |
userID of the message sender |
|||||||||||||||||||||||||
messageBody |
Array.<Object> |
Message body Properties
|
|||||||||||||||||||||||||
time |
String |
Message timestamp, in seconds |
|||||||||||||||||||||||||
cloudCustomData |
String |
Message custom data (saved in the cloud, will be sent to the peer end, and can still be pulled after the app is uninstalled and reinstalled; supported from v2.10.2) |