Question:
How to to get uploaded files from WixChat
Product:
Wix Editor
What are you trying to achieve:
I use Wixchat to communicate with extarnal application. All messages will be managed by 3rd party application. You can think of having something similar to GPT. I am able to get messages but not the files. There is an option to upload the files but it doesn’t show on payload.
Sharing payload that I have. Type is shown as undefined. How can I get the file from chat?
channelId:“83c0bfa2-c17e-3730-9916-277689cce4fe”
sequence:0
type:“undefined”
summary: “A file sent”
participantId:“dd8935ec-eca3-43a9-8108-9d785128ba7a”
createdDate:“Sun Oct 01 2023 19:38:39 GMT+0400 (Gulf Standard Time)”
metadata:{…}
payload:{…}
direction:
“VisitorToBusiness”
sender:{…}