CometChatThreadHeader
is a Component that displays the parent message & number of replies of thread.
CometChatMessageList
component into your app.
CometChatThreadHeader
is used in threaded message views, displaying information about the parent message. It provides a seamless way to navigate between the thread and the main conversation.
Property | Description | Code |
---|---|---|
parentMessage | Used to to set the message for which the replies need to be fetched | parentMessage={messageObject} |
template | Used to to set custom template for the parent message | template={templateObject} |
replyCountVisibility | Used to toggle reply count visibility | replyCountVisibility={true} |
replyCountBarVisibility | Used to to toggle reply count bar visibility | template={templateObject} |
receiptsVisibility | Used to to toggle receipts Visibility | template={templateObject} |
avatarVisibility | Used to to toggle avatarVisibility | template={templateObject} |
template
property is used to configure and set a custom template for parent message bubble. It allows for dynamic customization of message appearance, content, or other predefined settings based on the template provided.