Display style

By default, the chat widget is displayed as a button that the chatbot user clicks to open the chat window. You can customise the icon displayed for the button, or configure the chat widget to display as a tab.

PropertyTypeDescription
displayStyleString

Configure whether to display the chat widget as a button or tab. Allowed values:

  • button
  • tab
buttonIconUrlString

The URL of the icon to use as the button. Only valid when the displayStyle property is button.

Image must be:

  • JPG, PNG or GIF file format.
  • at least 200 x 200 pixels.
<script>
const options = {
  integrationId: '<integration Id>',
  displayStyle: 'button',
  buttonIconUrl: 'https://mydomain.com/myButtonIcon.png',
},

ingeniousai.init(options).then();
</script>
Was this article helpful?
0 out of 0 found this helpful