Skip to main content

MessageHeaderConfiguration

This refers to the properties of the CometChatMessageHeader component that are available for customisation via the parent component when the component exists in a deep nested hierarchy.

Configurable Properties

NameDescription
backButtonIconURLAsset URL for the back button
privateGroupIconAsset URL for the icon representing private groups
passwordGroupIconAsset URL for the icon representing password protected groups
subtitleViewUser-defined component to customise the secondary text shown in the default user profile.
menuUser-defined component to showcase options related to the chat like buttons viewing the additional information or starting a video call.
hideBackButtonWhen set to true, will hide the back button
disableTypingWhen set to true, Users will not be able to see if the chat participants are actively composing a response.
disableUsersPresenceWhen set to true, Users will not be able to see whether a particular user is currently online or offline.
onBackOverride the method that is invoked when when user clicks on the back button.
onErrorOverride the method that is invoked when an error is encountered within the details component
avatarStyleStyling properties and values of the Avatar component
statusIndicatorStyleStyling properties and values of the StatusIndicator component
listItemStyleStyling properties and values of the ListItem component
messageHeaderStyleStyling properties and values of the CometChatMessageHeader component