send Directional Media Message
Sends a targeted multimedia message.
Sends a message to specific users in a conversation; other users in the conversation will not receive the message. Before sending, construct a Message entity where the content must be a multimedia message. For example: ImageMessage, FileMessage, or any other message that inherits from MediaMessageContent.
Starting from version 5.6.9, ultra group conversation types are supported.
Since
5.0.0
Parameters
The message entity to be sent.
An array of targeted recipient IDs.
This field is displayed in the notification bar when a remote push notification is sent. If sending a custom message, this field must be filled; otherwise, the remote push notification cannot be received. If sending default message types in the SDK, such as RC:TxtMsg, RC:VcMsg, RC:ImgMsg, this field is not required as it is already specified by default.
Additional information for remote push notifications. If this field is set, users can retrieve it via getPushData when receiving a remote push notification.
The callback for sending the message .