tawk / tawk-messenger-react

Official React plugin for Tawk messenger
https://www.tawk.to
Other
23 stars 15 forks source link

The result of callback doesnt have any message, tawkto has change the result ? #30

Open nguyenphucminh opened 1 year ago

nguyenphucminh commented 1 year ago

I need your helps, my app have been using TawkMessengerReact for work since 2 month, but currently it doesn't work. When my customers chat on widget chat, the app not return any data. Althought, dashboard tawkto still get the message, but my app just get the status "ok" and data messages empty (only "co" and "cver", but it not helpful to me). I think that tawk.to did something to block message and make data empty messages. My app use method onChatMessageVisitor

PURPOSE: I need the data message from data reusult and send to my bot telegram

<TawkMessengerReact
      propertyId={propertyId}
      customStyle={customstyle}
      widgetId={widgetId}
      ref={tawkMessengerRef}
      onChatMessageVisitor={(mess: string) => {
      console.log("mess: ", mess)
        setMsg(mess)
      }}
/>

image

jaoaustero commented 2 months ago

Hi @nguyenphucminh can you check if the error still occurs? since we release a lot of changes before we check this issue