How to Allow URLs and Attachments to my Bot
abdfnx opened this issue · comments
Hi @JelleZijlstra, How I can use the message attachments like URLs or files to my code ?
For sending files to the bot, I added an extension to the protocol recently: poe-platform/documentation@d67fb15. However, it is not implemented on our side yet, I'm hoping to do that soon.
For sending files to the bot, I added an extension to the protocol recently: poe-platform/documentation@d67fb15. However, it is not implemented on our side yet, I'm hoping to do that soon.
and what about URLs ?
Users can just type in URLs in the markdown input, no special support needed.
That's something you should be able to do in your own bot. In your code, you can recognize that there is a URL and fetch the data from the Internet.
Can you give me an example code ?
Sorry I can't give example code right now. We may add support for URL fetching to API bots on our side in the future.
Sorry I can't give example code right now. We may add support for URL fetching to API bots on our side in the future.
Is it supported now? @JelleZijlstra