recallMessage

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

Recall a message

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, RongCloud's default push content will be used

callback

The RecallNotificationMessage will be returned in the onSuccess callback. Messages already recalled by IMLib should be replaced with . The user needs to display RecallNotificationMessage in the UI.