getConversationTopStatus

public abstract void getConversationTopStatus(String targetId, ConversationType conversationType, String channelId, 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, ensuring the accuracy of the conversation's pinned status.

This method reads the pinned status of the conversation from the local database.

Since

5.1.5

Parameters

conversationType

The type of the conversation.

targetId

The ID of the conversation.

channelId

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

callback

The callback for the pinned status result.