Intercept and prevent the sending of a message when the user presses Enter
Hello!
I am building an app for Zendesk Support which uses an external API to translate the conversations in Zendesk. I have added a new button in the "Ticket editor" section which takes the agent's reply, translates it and sends the translation back to Zendesk with "client.request".
The problem that I'm facing is that I can't find a way to intercept and prevent the sending of the message when the user presses on Enter in chat. Is there a way to do this?
Thank you!
-
Hi Oana,
Currently there's no way to stop submission of the chat message via ZAF API. Once the agent clicks Send or presses Enter the message will be sent. Follow our Announcements section for notifications of new features and enhancements.
Please sign in to leave a comment.
1 Comments