This is documentation for the release candidate Stream Chat React Native SDK v8. For the latest stable version, see the latest version (v7).

ShowThreadMessageInChannelButton

Component to render a checkbox (labeled “Also send to channel”), within the Thread component. When this checkbox is checked by users, message sent as thread reply also gets added to parent channel’s message list.

This is the default component provided to the prop ShowThreadMessageInChannelButton on the Channel component.

Props

allowThreadMessagesInChannel

Display the Show thread message in channel button inside the thread MessageInput.

TypeDefault
booleantrue

threadList

Tells the Channel component if it is rendering a thread. We use this flag to avoid concurrency problems between a regular channel and a channel containing a thread.

Type
boolean

t

Given a key, extracts the translated text from the Streami18n instance.

Type
function
© Getstream.io, Inc. All Rights Reserved.