pinConversation method
会话置顶
Implementation
@override
Future<V2TimCallback> pinConversation({
required String conversationID,
required bool isPinned,
}) async {
var formatedConversationID = conversationID.replaceAll("c2c_", "C2C");
formatedConversationID = formatedConversationID.replaceAll("group_", "GROUP");
return await _v2TIMConversationManager.pinConversation({
"conversationID": formatedConversationID,
"isPinned": isPinned,
});
}