fetchLatestMessageWithChatThreads method

Future<Map<String, Message>> fetchLatestMessageWithChatThreads({
  1. required List<String> chatThreadIds,
})

Implementation

Future<Map<String, Message>> fetchLatestMessageWithChatThreads({
  required List<String> chatThreadIds,
}) {
  return checkResult(ChatSDKEvent.fetchLatestMessageWithChatThreads, () {
    return Client.getInstance.chatThreadManager
        .fetchLatestMessageWithChatThreads(chatThreadIds: chatThreadIds);
  });
}