On this page

ThreadMessage object

ThreadMessage represents a single message in a thread.

Properties

ThreadMessage extends Message and adds:

1public class ThreadMessage : Message {
2 public string ParentChannelId { get; }
3}
ParameterDescription
parentChannelId
Type: 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.

Standard methods

Streaming methods

ThreadMessage inherits all streaming methods from Message.

Use case

ThreadMessage methods enable:

  • Sending messages in threads
  • Pinning thread messages to the parent channel
Last updated on