Channel Title
A title row can appear at the top of the thread, distinct from the bot-name header
(the title prop). It's a good place to show what the current channel is about — a ticket
number, a conversation topic, etc.
Channel Title
A title row can appear at the top of the thread, distinct from the bot-name header. It is seeded by the channelTitle prop (usually from channelMetadata()) and updates live from the backend title.update event. Customize it with renderTitle, or hide it with channelTitleHidden.
Display mode
<Chatbot
channelTitle="訂單 #1024 諮詢"
config={{ botProviderEndpoint: '...' }}
customChannelId="my-channel"
/>Loading chatbot...
Related Props
| Prop | Type | Description |
|---|---|---|
channelTitle | string | null | Seed for the title (usually from channelMetadata()); updates live from the backend title.update event. null = unnamed |
renderTitle | (props) => ReactNode | Replace the title row entirely. props is { title, renderDefault }; return null to hide |
untitledLabel | string | Fallback text when unnamed (null), default 新對話 |
channelTitleHidden | boolean | Hide the title row entirely |
Live Updates
The title is backed by a reactive store: it updates automatically when the backend emits
asgard.channel.title.update, with no manual re-render. Headless consumers can subscribe
with the useChannelTitle(channel) hook — see Headless.
See Also
- Chatbot Props — full props list
- Custom Header (renderHeader) — customize the bot-name row (distinct from this title row)