DumGumDocs
Search documentation

Loading search…

Guides

Notify Your End Users

By leveraging the answer.processing event, you can notify your users that the persona profile is currently typing on user interface (e.g. displaying the well-known three dots).

How-To Implement This Feature

To handle the answer.processing events server-side, follow these steps:

  • When an answer.processing event is received, parse the event data to extract necessary information such as user ID and persona profile ID.
  • Update your application state to reflect that the persona profile is currently generating a response. This can involve setting a flag or updating a UI component (e.g. displaying a 3-dots animation for example).