createChatThread method

Future<ChatThread> createChatThread({
  1. required String threadName,
  2. required String messageId,
  3. required String parentId,
})

Implementation

Future<ChatThread> createChatThread({
  required String threadName,
  required String messageId,
  required String parentId,
}) {
  return checkResult(ChatSDKEvent.createChatThread, () {
    return Client.getInstance.chatThreadManager.createChatThread(
        name: threadName, messageId: messageId, parentId: parentId);
  });
}