phoneNumber | String | Required | Phone number in intenational format | 1234567890 |
accountName | String | Required | Account username | Account Name |
avatar | String | Optional | Change user avatar using static assets | UI Faces |
statusMessage | String | Optional | Text below the account username | Typically replies within 1 hour |
chatMessage | String | Optional | Text inside the chat box. | Hello there! 🤝 \nHow can we help? |
placeholder | String | Optional | Input placeholder. | Type a message.. |
darkMode | Boolean | Optional | Dark style. | false |
allowClickAway | Boolean | Optional | Closes the chat box when user clicks outside | false |
allowEsc | Boolean | Optional | Closes the chat box when Escape key is pressed | false |
className | String | Optional | CSS className applied to the main wrapping Div | custom-class |
styles | CSSProperties | Optional | Inline style applied to the Button only | {} |
height | Number | Optional | Control chat box height | 300 |
notification | Boolean | Optional | Allow repeated notifications (Disabled after user opens the chat box) | false |
notificationDelay | Number | Optional | Time delay between notifications in millisecond | 18000 |
notificationSound | Boolean | Optional | Allow notification sound | false |
defaultMessage | String | Optional | A default prefilled message. | Hello, I have a query |