pinConversation method

Future<V2TimCallback> pinConversation({
  1. required String conversationID,
  2. required bool isPinned,
})

Pin one conversation to the top

Implementation

Future<V2TimCallback> pinConversation(
    {required String conversationID, required bool isPinned}) {
  return model.pinConversation(
      conversationID: conversationID, isPinned: isPinned);
}