@amogads/ui 1.1.4 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/server.js CHANGED
@@ -1613,9 +1613,12 @@ async function handleMessagesPost(request) {
1613
1613
  message: body.message,
1614
1614
  messageType: body.messageType || "text",
1615
1615
  fileUrl: body.fileUrl,
1616
- fileName: body.fileName,
1617
- replyToMessageId: body.replyToMessageId,
1618
- forwardedFromMessageId: body.forwardedFromMessageId,
1616
+ replyMetadata: body.replyToMessageId ? {
1617
+ replyto_message_id: body.replyToMessageId,
1618
+ replyto_user_id: body.replyToUserId || null,
1619
+ replyemoji: null,
1620
+ parent_message_id: null
1621
+ } : void 0,
1619
1622
  locationData: body.location
1620
1623
  });
1621
1624
  if (!msg) {