fetchPinnedMessages method

Future<List<Message>> fetchPinnedMessages({
  1. required String conversationId,
})

Implementation

Future<List<Message>> fetchPinnedMessages({
  required String conversationId,
}) {
  return checkResult(ChatSDKEvent.fetchPinnedMessages, () async {
    return Client.getInstance.chatManager
        .fetchPinnedMessages(conversationId: conversationId);
  });
}