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.
Parameters
The message entity to be sent.
An array of targeted 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 is not required as it is already specified by default.
Additional information for the remote push notification. If this field is set, users can retrieve it via getPushData when receiving the remote push notification.
The callback for sending the message SendMediaMessageCallback.