editMessage abstract method

Supported versions: 2.20.0 and above.

Detailed description: This method can be used to edit messages is sent successfully in single chat and group chat.

Business scenario: When you need to edit message to the target user, target group chat after logging in, send it through this interface.

Call timing: It can be called after login.

Related callback: ZIMMessageEditedResult, ZIMMessageSendNotification, ZIMEventHandler.onMessageEdited, ZIMEventHandler.onConversationChanged.

Related interfaces: queryHistoryMessage, sendMessage.

Implementation

Future<ZIMMessageEditedResult> editMessage(ZIMMessage message,
    ZIMMessageEditConfig config, ZIMMessageSendNotification? notification);