leegeunhyeok / react-native-zendesk-messaging

🗣️ Zendesk messaging SDK for React Native
https://www.npmjs.com/package/react-native-zendesk-messaging
MIT License
40 stars 12 forks source link

Reset Message History and Not Ask For Name #22

Closed mhaslinsky closed 1 year ago

mhaslinsky commented 1 year ago

First of all, thank you for this. This is a wonderful tool.

Two things. 1) is it possible to reset the chat history everytime the bot/app is opened. Currently it is retaining chat history and I don't see a way to stop it. 2) Is there a way to stop it for asking for the users name upon the first open?

leegeunhyeok commented 1 year ago

Hi, @mhaslinsky.

  1. You cannot reset chat history programmatically, because that feature isn't implemented in the Zendesk SDK. (https://github.com/leegeunhyeok/react-native-zendesk-messaging/issues/18#issuecomment-1628682983)
  2. You can setup custom bot flow on Zendesk dashboard.
mhaslinsky commented 1 year ago

I figured as much for 1, just wanted to make sure. I have no idea how I fixed 2 but, I did get it to stop.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

kfchan-git commented 2 months ago

i did try to logout and re-intialize the chatbot, that can technically clear or reset history. (I'm not sure if this is the correct way, but feel free to correct me)