https://discord.gg/botpress logo
#🤝help
Wait animation
# 🤝help
l

loud-army-1145

06/06/2023, 2:58 AM
Hi.. I am using botpress. I have an API which takes some time to respond. How can i show animation of waiting to user, till I get response from API ?
a

acceptable-gold-88171

06/06/2023, 2:15 PM
@loud-army-1145 As far as I know there's no way to do this right now, but i'm sure we will add it at some point. This is a great candidate for a #1111026806254993459 post 🙂
l

loud-army-1145

06/06/2023, 2:16 PM
Thanks @acceptable-gold-88171 ...for now I am showing animation image before api is called.. Is there a way to delete previous message once api response is received?
a

acceptable-gold-88171

06/06/2023, 2:22 PM
Not for the moment. I suppose when the API is released, it will be possible but somehow involved, especially once you start thinking multi-channel. I think a feature request for this specific functionality is the best way forward.
l

loud-army-1145

06/06/2023, 2:44 PM
Sure will add in feature request.. Mmm. The only option left is to handle via Javascript on web channel and hide the message. 😬.. Dirty fix till feature comes in..
15 Views