@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.mjs CHANGED
@@ -1563,9 +1563,12 @@ async function handleMessagesPost(request) {
1563
1563
  message: body.message,
1564
1564
  messageType: body.messageType || "text",
1565
1565
  fileUrl: body.fileUrl,
1566
- fileName: body.fileName,
1567
- replyToMessageId: body.replyToMessageId,
1568
- forwardedFromMessageId: body.forwardedFromMessageId,
1566
+ replyMetadata: body.replyToMessageId ? {
1567
+ replyto_message_id: body.replyToMessageId,
1568
+ replyto_user_id: body.replyToUserId || null,
1569
+ replyemoji: null,
1570
+ parent_message_id: null
1571
+ } : void 0,
1569
1572
  locationData: body.location
1570
1573
  });
1571
1574
  if (!msg) {