ConversationsConfiguration
This refers to the properties of the CometChatConversations
component that are available for customisation via the parent component when the component exists in a deep nested hierarchy.
Configurable Properties
Parameters | Description |
---|---|
titleAlignment | Alignment of the heading text for the component |
loadingIconURL | Asset URL for the loading indicator icon |
loadingStateView | User-defined component to customise the loading indicator |
emptyStateView | User-defined component to customise the empty state of the component. |
errorStateView | User-defined component to customise the error state of the component. |
sentIcon | Asset URL for the sent state indicating that a message is sent successfully. |
deliveredIcon | Asset URL for the delivered state indicating that a sent message is delivered successfully. |
readIcon | Asset URL for the read state indicating that a sent message is read by the receiver. |
errorIcon | Asset URL for the error state indicating that an error has occurred when the message was in transit. |
privateGroupIcon | Asset URL for the group icon to represent the private or closed group. |
passwordGroupIcon | Asset URL for the group icon to represent the password protected group. |
conversationsRequestBuilder | Class that allows you to set various parameters to the UsersRequest class based on which the conversations are fetched |
hideSeparator | When set to true, hides the separator between the individual elements in the list. |
hideError | When set to true, hides the error messages displayed within the component |
disableUsersPresence | When set to true, Users will not be able to see whether a particular user is currently online or offline. |
disableReceipt | When set to true, switches off the visual indication when a message has been read or viewed by the recipient. |
disableTyping | When set to true, typing events are disabled and the typing indicators are not displayed. |
disableSoundForMessages | When set to true, the component will not produce sound for all incoming messages. |
customSoundForMessages | mp3 file asset of your choice. |
selectionMode | Allows user to select individual or multiple items for applying specific operations. |
onSelect | Method invoked which returns the selected users. |
subtitleView | User-defined component to customise the secondary text shown in the default user profile. |
menu | User-defined component to showcase options related to the users in the header section. |
options | User-defined actions which appears for each user on mouseover. |
onItemClick | Override the method that is invoked when user clicks on a individual item in the list |
onError | Override the method that is invoked when an error is encountered within the component |
avatarStyle | Styling properties and values of the Avatar component |
statusIndicatorStyle | Styling properties and values of the StatusIndicator component |
badgeStyle | Styling properties and values of the Badge component |
receiptStyle | Styling properties and values of the Receipt component |
listItemStyle | Styling properties and values of the ListItem component |
deleteConversationDialogStyle | Styling properties and values of the ConfirmDialog component |
backdropStyle | Styling properties and values of the Backdrop component |
conversationsStyle | Styling properties and values of the CometChatConversations component |
disableMentions | Disable mentions in conversation.. Default value is set to false |
textFormatters | Allows user to pass custom formatters |