https://discord.gg/botpress logo
Customize Chat API response
# 🤝help
b
Hello botpress community, Wanted to ask if anyone has tried customizing the Chat API response? What I'm trying to achieve is to be able to attach a message_id to which message the bot responded. Thank you!
l
can you explain more?
b
We wanted to filter the chat response to specific message reply. E.g: User 1: Sample message 1 User 1: Sample message 2 Bot: Bot reply Bot: Bot reply The problem here is that we cannot associate which message did the bot reply to
l
you can associate since every conversation has a userId and conversationId
which is unique for each user conversation
b
what we want is associate the bot response to the message. In the example above, we wanted to know if which message did the 1st bot reply to
l
Botpress will always respond in sequence the below will not happen User 1: Sample message 1 User 1: Sample message 2 Bot: Bot reply for 2 Bot: Bot reply for 1
b
I see, so weird for us then. thank you!