Components.default.threadHeaderView = MyChatThreadHeaderView.selfChatThreadHeaderView
This component is responsible to display the information in the header of a thread. By default, it is rendered in the navigationItem.titleView of the ChatThreadVC.
Customization
You can swap the built-in component with your own by setting Components.default.threadHeaderView to your own view type.
You can find more information on how the components configuration works here.