onSuccess

public abstract void onSuccess(List<Message> messageList, List<String> mismatchList)

Parameters

messageList

The list of messages retrieved from the query.

mismatchList

The list of message UIDs that were not found. Possible reasons: 1. The messageUid may not be a standard UID string, making it impossible to match locally. 2. By default, ultra groups only synchronize the last message in the conversation, so the corresponding local message may not be found. You can first call `getBatchRemoteUltraGroupMessages` to fetch the message from the remote server. 3. After exiting a chatroom, local messages are cleared, so this method cannot retrieve local messages.