ThreadChannel object

ThreadChannel is an object that refers to a single thread (channel) in a chat.

Properties

The ThreadChannel interface extends the Channel interface, so it takes its properties. It also has:

interface ThreadChannel : Channel {
val parentMessage: Message
val parentChannelId: String
}
ParameterTypeDescription
parentMessageMessageMessage for which the thread was created.
parentChannelIdStringUnique identifier of the main channel on which you create a subchannel (thread channel) and thread messages.

Methods

You can call the following methods on the ThreadChannel object.

Click on each method for more details.

Use case

For example, you can use the ThreadChannel object methods to:

  • Let users create and reply in threads.
  • Pin important information when needed.
Last updated on