set Conversations To Top
public abstract void setConversationsToTop(List<ConversationIdentifier> conversationIdentifiers, boolean isTop, boolean needCreate, IRongCoreCallback.ResultCallback<Boolean> callback)
Asynchronously batch sets the top status of conversations
Since
5.6.7
Parameters
conversation Identifiers
List of conversation identifiers, maximum of 20
is Top
Whether to pin the conversation
need Create
Whether to create a conversation if it does not exist
callback
Callback result. This callback is executed on the main thread. Avoid performing time-consuming operations in the callback to prevent SDK thread blocking.