The file name.
The file type.
The file URL.
The session type.
Whether the message is delivered only when the recipient(s) is/are online:
true
: The message is delivered only when the recipient(s) is/are online. If the recipient is offline, the message is discarded.false
: The message is delivered when the recipient(s) is/are online. If the recipient(s) is/are offline, the message will not be delivered to them until they get online.The message extension.
The file object.
The input ID of the file to be uploaded.
The size of the file.
The file name.
The sender, which can only be the current user and can not be changed.
The message ID.
Whether the message is a thread message.
Whether read receipts are required during a group session.
Message priority.
The list of message recipients.
Time.
The recipient.
The message type.
The callback for a message sending failure.
The callback of file upload completion.
The callback of a file upload error.
The callback of the file upload progress.
The callback for message sending success.
Generated using TypeDoc
The message body.