getConversation

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

Retrieves information of a single conversation.

Parameters

conversationType

The type of conversation. Refer to .

targetId

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

callback

Callback for retrieving the conversation information.