Building a Figma Plugin with Dust SDK: Need Help with Attachments
Hello Dust community 👋
I am currently exploring building a Figma plugin using the Dust Javascript SDK, to be able to interact with our company agents directly within Figma
So far I've been making good progress, retrieving the agents in the workspace, and creating conversations etc ...
I now would like to add attachements to the messages I send to the API, to have a similar behavior as the Dust chrome extension, where you can add the text layers of the Figma selection, or a screenshot of it. But I don't see in the API documentation how I can attach files to the message I send. For the text layers, I could append them to the user input as it's a string, but for the screenshot I'm not sure... Is there a proper way to achieve that, that I'm not aware of?
Maybe Remi you have some ideas?