Name | Type | Description |
---|---|---|
user | User Class | View details of this particular CometChat user |
group | Group Class | View details of this particular CometChat group |
Name | Type | Description |
---|---|---|
backButtonIconURL | string | Asset URL for the back button |
privateGroupIcon | string | Asset URL for the icon representing private groups |
protectedGroupIcon | string | Asset URL for the icon representing password protected groups |
Name | Type | Description |
---|---|---|
subtitleView | Function as PropType<(user?: CometChat.User, group?: CometChat.Group) => ViewType> | User-defined component to customise the secondary text shown in the default user profile. |
listItemView | Function as PropType<(user?: CometChat.User, group?: CometChat.Group) => ViewType> | User-defined component to customise user profile view. |
Name | Type | Description |
---|---|---|
menu | view | User-defined component to showcase options related to the chat like buttons viewing the additional information or starting a video call. |
Name | Type | Description |
---|---|---|
hideBackButton | boolean | When set to true, will hide the back button |
disableTyping | boolean | When set to true, Users will not be able to see if the chat participants are actively composing a response. |
disableUsersPresence | boolean | When set to true, Users will not be able to see whether a particular user is currently online or offline. |
Name | Type | Description |
---|---|---|
onBack | Function as PropType<() => void> | Override the method that is invoked when when user clicks on the back button. |
onError | Function as PropType<(error: CometChat.CometChatException) => void> | Override the method that is invoked when an error is encountered within the component |
Name | Type | Description |
---|---|---|
avatarStyle | AvatarStyle | Styling properties and values of the Avatar component |
statusIndicatorStyle | StatusIndicator | Styling properties and values of the StatusIndicator component |
listItemStyle | ListItemStyle | Styling properties and values of the ListItem component |
messageHeaderStyle | MessageHeaderStyle | Styling properties and values of the MessageHeader component |