getConversation

public abstract void getConversation(ConversationType conversationType, String targetId, String channelId, IRongCoreCallback.ResultCallback<Conversation> callback)

Retrieve information for a single conversation.

Since

5.1.1

Parameters

conversationType

Specifies the type of conversation. Refer to .

targetId

Indicates the conversation ID. Depending on the conversationType, this could be a user ID, discussion group ID, group ID, or chatroom ID.

channelId

Represents the business identifier of the conversation to which the message belongs.

callback

Callback for retrieving conversation information.