Skip to content

Latest commit

 

History

History
64 lines (47 loc) · 1.93 KB

README.md

File metadata and controls

64 lines (47 loc) · 1.93 KB

Vivocha Interaction App

Features

Hide Text Input

This feature hides the text input if no free text is allowed. It’s enabled by default with quick replies and can be configured in templates.

{
  code: 'message',
  type: 'text',
  body: '',
  template: {
    type: 'generic',
    hide_text_input: 'true',
    [...]
  }
}

Please, keep in mind that both the quick replies and the templates need at least a button with a valid payload to continue the active conversation or users have no more chances to interact.

Reactive Buttons On Templates

This feature makes buttons on both generic and list templates reactive to run the action of the first clicked and to make them unclickable after the first user choice in the same group pretty like the way quick replies do.

Adobe After Effects Support

This feature has been developed for lastminute.com and adds support for Adobe After Effects animation exported in JSON via Lottie: a library created and maintained by Airbnb.

Please, compile the lastminute branch to get it working as expected by the customer.

Custom Actions

Set Agent

This custom action has been developed for Smile.CX Gaia to let Rocket.Chat change the agent details via Vivocha Bot SDK.

You should send a message like the following.

{
  code: 'message',
  type: 'action',
  action_code: 'setAgent',
  args: [
    {
      avatar: '/path/to/fmoretti/avatar.png',
      nickname: 'Federico Moretti',
      status: 'Online'
    }
  ]
} as ActionMessage

All of the keys are of type string and the avatar key must be a valid image URL.