You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
first of all let me thank you for open sourcing this great component, much appreciated!
I have kind of unusual use case for the webchat, and wasn't able to solve a problem related to the nature of this use case: I am trying to put a self developed "dashboard" component next to the webchat component. This dashboard is used to give the user of the webchat additional information beyond what is already replied by the bot and displayed in the webchat.
To make this work, I need to make an additional api call to my own backend server whenever the user sends a message via webchat.
Therefore, I think that somehow I need to register from outside of the webchat component that this event took place so that I can trigger that respective api call.
From what I read, React refs could be part of the solution, but besides that I am pretty clueless what to do...
Do you guys have an idea what is needed to make it work? Thank you!
The text was updated successfully, but these errors were encountered:
Hi, unfortunately, we don't currently have a way to listen to messages sent from the user outside of the webchat. I'm going to add one to the prop onWidgetEvent though, I'll let you know here once it's done.
Hey any updates on this? ☺️
I have a use case where I'd love to be able to access user messages so either widget event or access to user_uttered socket event would be great! (As far as I understood, user_uttered socket event is not available on the React version?)
Hey,
first of all let me thank you for open sourcing this great component, much appreciated!
I have kind of unusual use case for the webchat, and wasn't able to solve a problem related to the nature of this use case: I am trying to put a self developed "dashboard" component next to the webchat component. This dashboard is used to give the user of the webchat additional information beyond what is already replied by the bot and displayed in the webchat.
To make this work, I need to make an additional api call to my own backend server whenever the user sends a message via webchat.
Therefore, I think that somehow I need to register from outside of the webchat component that this event took place so that I can trigger that respective api call.
From what I read, React refs could be part of the solution, but besides that I am pretty clueless what to do...
Do you guys have an idea what is needed to make it work? Thank you!
The text was updated successfully, but these errors were encountered: