recallMessage

public abstract void recallMessage(Message message, String pushContent, IRongCoreCallback.ResultCallback<RecallNotificationMessage> callback)

Recall message

Since

5.0.0

Parameters

message

The message to be recalled

pushContent

When sending a push notification, this field will be displayed in the notification bar. If not set, the default push content from RCwill be used.

callback

The RecallNotificationMessage is returned in the onSuccess callback. Messages already recalled by IMLib should be replaced with , and users need to display RecallNotificationMessage in the UI.