fetchPinnedMessages method

Future<void> fetchPinnedMessages()

Implementation

Future<void> fetchPinnedMessages() async {
  try {
    List<Message> ret = await ChatUIKit.instance
        .fetchPinnedMessages(conversationId: profile.id);
    pinedMessages.value = ret;
  } catch (e) {
    debugPrint('fetchPinMessage: $e');
  }
}