pinMessage method
Implementation
Future<void> pinMessage(Message message) async {
try {
await ChatUIKit.instance.pinMessage(
messageId: message.msgId,
);
pinedMessages.value = pinedMessages.value + [message];
} catch (e) {
debugPrint('pinMessage: $e');
}
}