On this page

ThreadMessage object

ThreadMessage represents a single message in a thread.

Properties

The ThreadMessage interface extends the Message interface, so it takes its properties. It also has:

1interface ThreadMessage : Message {
2 parentChannelId: String
3}
ParameterDescription
parentChannelId
Type: String
Unique identifier of the main channel on which you create a subchannel (thread channel) and thread messages.

Methods

The ThreadMessage object exposes the following methods.

Use case

ThreadMessage methods enable:

  • Sending messages in threads
  • Pinning thread messages to the parent channel
Last updated on