getConversation

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

Retrieves information for a single conversation.

Since

5.0.0

Parameters

conversationType

The type of conversation. Refer to .

targetId

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

callback

Callback for retrieving the conversation information.