Display style

By default, the chat widget is displayed as a button that the 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.

Property Type Description
displayStyle String

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

  • button
  • tab
buttonIconUrl String

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.
const options = {
integrationId: '<integration Id>',
displayStyle: 'button',
buttonIconUrl: 'https://mydomain.com/myButtonIcon.png',

Was this article helpful?
0 out of 0 found this helpful



Article is closed for comments.