onSuccess property

(void Function(String msgId, EMMessage msg)?) onSuccess
final

~english Occurs when a message is successfully sent or downloaded.

Param msgId The pre-sending message ID or the ID of the message that is successfully downloaded.

Param msg The message that is successfully sent or downloaded. ~end

~chinese 消息发送或下载成功回调。 ~end

Implementation

final void Function(String msgId, EMMessage msg)? onSuccess;