ShowThreadMessageInChannelButton
Renders the "Also send to channel" checkbox inside Thread. When checked, thread replies are also posted to the parent channel.
This is the default component for the ShowThreadMessageInChannelButton prop.
Best Practices
- Use this option only when your UX expects thread replies in the main channel.
- Keep the label clear to avoid accidental cross-posting.
- Respect
allowThreadMessagesInChannelto prevent invalid UI states. - Localize the label using
tfor consistent translations. - Consider defaulting to off in busy channels.
Props
allowThreadMessagesInChannel
Show the Show thread message in channel button in thread MessageInput.
| Type | Default |
|---|---|
| boolean | true |
threadList
Indicates the Channel is rendering a thread. Used to avoid concurrency issues between the main channel and thread.
| Type |
|---|
| boolean |
t
Given a key, returns translated text from the Streami18n instance.
| Type |
|---|
| function |