iOS SDK - Reset Zendesk Messaging History & Change Channel Key Programmatically



Posted Jun 06, 2022

I have an instance where a user may change their locale in the app, which requires a different Zendesk Messaging bot flow, with a different messaging channel key.

The problem is that calling Zendesk.invalidate() does not reset the messaging history. The next time I initialize and present the view with the new messaging channel key, the previous messaging history and prompts are still there. Tapping one of the prompts results in an error of "Tap to retry".

How can I clear the zendesk messaging history or restart the messaging bot flow programmatically from the client?


0

1

1 comment

Hi Rideout,
 
Thanks for posting your question to the Community! Resetting messaging history isn't supported in that way for authenticated users. The only time the messaging history is erased is when an unauthenticated user either opens a new browser window or tab with Forget History enabled. The active ticket/session would need to be solved and closed out in order to restart the bot flow for authenticated users.
 
Best,
 
Erica

0


Sign in to leave a comment.

Didn't find what you're looking for?

New post