send Directional Media Message
Sends a targeted multimedia message.
Sends a message to specific users in a conversation, while other users in the conversation will not receive the message. Before sending, construct the Message entity, where the content must be a multimedia message. For example: ImageMessage, FileMessage, or other messages that inherit from MediaMessageContent.
Starting from version 5.6.9, ultra group conversation types are supported.
Since
5.2.4
Parameters
The message entity to be sent.
An array of target recipient IDs.
When sending a remote push notification, this field will be displayed in the notification bar. If sending a custom message, this field must be filled; otherwise, the remote push notification will not be received. If sending default message types in the SDK, such as RC:TxtMsg, RC:VcMsg, RC:ImgMsg, this field does not need to be filled 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 they receive the remote push notification.
The callback for sending the message .