unsending messages and editing GIF images
# 🤝help
m
I want to make my own response bubble, so I'm trying to make it so the bot sends a response bubble GIF, and then unsends it immediately before providing its actual response. I'm struggling with editing the HTML to resize the GIF to my desired size once the bot sends it, and I can't figure out how to have the bot unsend the message in the back end. Thanks in advance.
f
Hey, You can't delete messages in the Botpress webchat. Are you using the video card to send the GIF?
m
If we can't delete messages, what's the function of the "Delete Message" in the Botpress documentation? And I'm using the image card to send the GIF because it looks cleaner on the interface. When I use the video card, the timestamp and everything shows up.
c
Can you please send over the link of the "Delete Message" you are referring to in the documentation?
m
Delete Message DELETE /v1/chat/messages/{id} https://botpress.com/docs/api-documentation/#delete-message
If you go there and search "delete message" it should pop up
c
Hey @famous-jewelry-85388, could you please enlighten us on the delete message function? How does it work, and in what context would you like to use it? Thanks! 🦸‍♂️
m
Thank you so much
And also just another reference to this I also want to resize the GIF itself when the bot sends it thru the HTML on my site, but I'm not sure how. Thanks.
Any word on this?
Also, how exactly can I find the ID of a message that was previously sent?
m
@famous-jewelry-85388. Hi, bumping this message. Working on a project with Aaron and we are having issues with the typing bubble due to integrating a GPT assistant. Would appreciate any feedback, especially with deleting a loading GIF as a dynamic solution
f
Hey guys, I am more of visual person, can you share with me more ingo? What I understood (and I think I am wrong) is you are looking for something like this: https://discord.com/channels/1108396290624213082/1154525992476479538
4 Views