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:

public class ThreadMessage : Message {
public string ParentChannelId { get; }
}
ParameterTypeDescription
parentChannelIdstringUnique 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 ThreadMessage object.

Click on each method for more details.

Use case

For example, you can use the ThreadMessage object methods to:

  • Let users send messages in threads.
  • Pin them to the channel when needed.
Last updated on