Replying to Messages

When creating a reply, pass the parentId to the message creation function.

import { MessageRepository } from '@amityco/js-sdk'

const message = { ... };

MessageRepository.createTextMessage({
  channelId: 'channelId',
  text: 'reply message',
  parentId: message.messageId
});

Last updated