ThreadChannel object
ThreadChannel represents a single thread (channel) in a chat.
Properties
ThreadChannel extends Channel and adds:
1public class ThreadChannel : Channel {
2 public string ParentChannelId { get; }
3 public string ParentMessageTimeToken { get; }
4}
| Parameter | Description |
|---|---|
parentChannelIdType: string | Unique identifier of the main channel on which you create a subchannel (thread channel) and thread messages. |
ParentMessageTimeTokenType: string | The time token of the message that started the thread. |
Methods
You can call the following methods on the ThreadChannel object.
Click on each method for more details.
GetThreadHistory()PinMessageToParentChannel()UnPinMessageFromParentChannel()- All methods available under the
Channelobject.
Use case
ThreadChannel methods enable: