pinConversation method
会话置顶
Implementation
@override
Future<V2TimCallback> pinConversation({
required String conversationID,
required bool isPinned,
}) async {
return V2TimCallback.fromJson(
formatJson(
await _channel.invokeMethod(
"pinConversation",
buildConversationManagerParam(
{
"conversationID": conversationID,
"isPinned": isPinned,
},
),
),
),
);
}