ThreadMessage object
ThreadMessage is an object that refers to a single message in a thread.
Properties
The ThreadMessage object extends the Message object, so it takes its properties. It also has:
1public class ThreadMessage : Message {
2 public string ParentChannelId { get; }
3}
| Parameter | Description |
|---|---|
parentChannelIdType: string | Unique identifier of the main channel on which you create a subchannel (thread channel) and thread messages. |
Events
The ThreadMessage object has the following event:
1// Event triggered when a thread message is updated
2public event Action<ThreadMessage> OnThreadMessageUpdated;
Methods
You can call the following methods on the ThreadMessage object.
Click on each method for more details.
PinMessageToParentChannel()UnPinMessageFromParentChannel()- All methods available under the
Messageobject.
Use case
For example, you can use the ThreadMessage object methods to: