getConversationTopStatus

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

Retrieves the pinned status of a conversation. Ensure to set the setConversationStatusListener listener to update the pinned status in the onConversationTagChanged callback, guaranteeing the accuracy of the conversation pinning.

Since

5.1.5

Parameters

conversationType

The type of the conversation.

targetId

The ID of the conversation.

callback

The callback for the result of the conversation pinning.