Skip to main content

Parameters

NameTypeDescriptionVersion
conversationConversationConversation identifier1.0.0
isTopbooleanWhether the conversation is pinned1.0.0
callbackISimpleCallbackResult callback1.0.0

Code Example

JIM.getInstance().getConversationManager().setTop(conversation, true, new IConversationManager.ISimpleCallback() {
@Override
public void onSuccess() {

}

@Override
public void onError(int errorCode) {

}
});