pinConversation method
Implementation
Future<void> pinConversation({
required String conversationId,
required bool isPinned,
}) {
return checkResult(ChatSDKEvent.pinConversation, () async {
await Client.getInstance.chatManager.pinConversation(
conversationId: conversationId,
isPinned: isPinned,
);
super.onConversationsUpdate();
});
}