getBatchLocalMessages

public abstract void getBatchLocalMessages(ConversationType conversationType, String targetId, String channelId, List<String> messageUIDs, IRongCoreCallback.IGetMessagesByUIDsCallback callback)

Since

5.2.5.2 Batch retrieval of local messages.

Parameters

conversationType

Specifies the conversation type, supporting one-to-one chat, group chat, ultra group, and chatroom conversation types.

targetId

Indicates the conversation ID.

channelId

Represents the channel ID. Pass null for non-ultra group conversations.

messageUIDs

Specifies the list of message UIDs to retrieve, supporting up to 20 messages.

callback

Indicates the result callback.