ThreadMessage object
ThreadMessage
is an object that refers to a single message in a thread.
Properties
The ThreadMessage
interface extends the Message
interface, so it takes its properties. It also has:
interface ThreadMessage : Message {
parentChannelId: String
}
Parameter | Type | Description |
---|---|---|
parentChannelId | String | Unique 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 ThreadMessage
object.
Click on each method for more details.
streamUpdatesOn()
pinToParentChannel()
unpinFromParentChannel()
- All methods available under the
Message
object.
Use case
For example, you can use the ThreadMessage
object methods to: