alan-sdk-ios icon indicating copy to clipboard operation
alan-sdk-ios copied to clipboard

Customization of UI and use case

Open Sander-Kornev opened this issue 2 years ago • 2 comments

I have a few questions:

  1. Is it possible to customize AlanButton look? For example, use my own icon.
  2. Is it possible to show Dialogue UI in a separate screen so that it would look like a chat UI with questions/commands from the user and answers from the Alan SDK? It seems that Alan's responses can be retrieved in onCommand handler . What about user's requests?

Thanks

Sander-Kornev avatar Aug 26 '22 15:08 Sander-Kornev

Hi Sander,

  1. https://alan.app/docs/usage/button/customization/#changing-the-alan-button-visual-style
  2. Someone will followup with you on this.

andreyryabov avatar Aug 26 '22 19:08 andreyryabov

Hi Sander,

To capture what the user says and Alan's response, you can use the onEvent handler: https://alan.app/docs/client-api/methods/event-handler/. You seem to be looking for the parsed and text events.

If you need any help with this, please contact us at [email protected].

okolyachko avatar Aug 26 '22 20:08 okolyachko