ThreadChannel object
ThreadChannel represents a single thread (channel) in a chat.
Properties
ThreadChannel extends Channel and adds:
1class ThreadChannel extends Channel {
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:
Regular methods
getMessage()getHistory()getPinnedMessage()pinMessage()pinMessageToParentChannel()unpinMessage()unpinMessageFromParentChannel()update()
Event listeners
All methods available under the Channel object also apply to ThreadChannel.
Use case
ThreadChannel methods enable: