ThreadChannel object
ThreadChannel
is an object that refers to a single thread (channel) in a chat.
Properties
The ThreadChannel
object extends the Channel
object, so it takes its properties. It also has:
public class ThreadChannel : Channel {
public string ParentChannelId { get; }
}
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 ThreadChannel
object.
Click on each method for more details.
GetThreadHistory()
PinMessageToParentChannel()
UnPinMessageFromParentChannel()
- All methods available under the
Channel
object.
Use case
For example, you can use the ThreadChannel
object methods to: