"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.createMainMessageForThread = void 0;
const createMainMessageForThread = message => {
  const data = {
    text: message.body,
    id: message.id,
    userName: message.user.name,
    createdAt: message.date,
    imageLocation: message.location,
    imagePreview: message.locationPreview,
    mimeType: message.mimetype,
    size: '',
    duration: '',
    waveForm: '',
    attachmentId: '',
    wrappable: '',
    nftActionType: '',
    contractAddress: '',
    roomJid: message.roomJid,
    nftId: ''
  };
  return JSON.stringify(data);
};
exports.createMainMessageForThread = createMainMessageForThread;
//# sourceMappingURL=createMainMessageForThread.js.map