ThreadMessage object
ThreadMessage represents a single message in a thread.
Properties
ThreadMessage extends Message and adds:
1class ThreadMessage extends 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
Available methods:
- static
streamUpdatesOn() pinToParentChannel()unpinFromParentChannel()- All methods available under the
Messageobject.
Use case
ThreadMessage methods enable: