Properties
Chat Information
Details associated with the call participants.| Name | Type | Description | 
|---|---|---|
| user | User Class | View details of this particular CometChat user | 
| group | Group Class | View details of this particular CometChat group | 
Asset URLs
Custom asset URL used for graphical representation.| Name | Type | Description | 
|---|---|---|
| voiceCallIconURL | string | Asset URL for the icon displayed on the button initiating voice call | 
| videoCallIconURL | string | Asset URL for the icon displayed on the button initiating video call | 
Function Callback
Functions that can be invoked by the user in response to a specific event or condition.| Name | Type | Description | 
|---|---|---|
| onVoiceCallClick | Function as PropType<(user: CometChat.User, group: CometChat.Group) => void> | Override the method that is invoked when the user clicks on the button that initiates voice call. | 
| onVideoCallClick | Function as PropType<(user: CometChat.User, group: CometChat.Group) => void> | Override the method that is invoked when the user clicks on the button that initiates video call. | 
| onError | Function as PropType<(error: CometChat.CometChatException) => void> | Override the method that is invoked when an error is encountered within the details component | 
Custom text
Customise the text or label displayed on the button| Name | Type | Description | 
|---|---|---|
| voiceCallIconText | string | Text or label displayed on the voice call button. | 
| voiceCallIconHoverText | string | Text or label displayed on the voice call button on mouse over. | 
| videoCallIconText | string | Text or label displayed on the video call button. | 
| videoCallIconHoverText | string | Text or label displayed on the video call button on mouse over. | 
Style
Styling properties and values of all the involved components| Name | Type | Description | 
|---|---|---|
| callButtonsStyle | CallButtonsStyle | Styling properties of this component | 
Usage
- Vue