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}
| Parameter | Description |
|---|---|
parentChannelIdType: 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.
streamUpdatesOn()pinToParentChannel()unpinFromParentChannel()- All methods available under the
Messageobject.
Use case
ThreadMessage methods enable: