User Chat Button Widget
Want to add a chat button in a nav bar or menu or user profile page? We have a widget for that!
You can add a chat button to your website by using the following HTML code:
The chat button accepts following attributes:
data-id - id of the user to start chat with. Replace {user-id} with the id of the user in the code given above.
data-name - name of the user to start chat with. Replace {user-name} with the name of the user in the code given above.
data-online-text - text to display when the user is online
data-offline-text - text to display when user is offline
data-height - the height of the chat button widget
data-online-text-color - text color to render when the user is online
data-offline-text-color - text color to render when the user is offline
data-online-background-color - background button color to render when the user is online
data-offline-background-color - background button color to render when the user is offline
data-font-size - the font size of text in chat button widget
Please note that you should be using Professional or Enterprise plan in order to be able to use this feature.
Last updated