For AI agents: this page in Markdown: https://www.pubnub.com/docs/chat/unreal-chat-sdk/learn/chat-entities/thread-message.md. Documentation index: https://www.pubnub.com/llms-full.txt.
ThreadMessage object
ThreadMessage represents a single message in a thread.
Properties
The ThreadMessage object extends the Message object, so it takes its properties. It also has:
ParentChannelId#- 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 ThreadMessage object.
Click on each method for more details.
GetParentChannelID()— returns the parent channel ID (local, no network call).PinMessageToParentChannel()UnpinMessageFromParentChannel()- All methods available under the
Messageobject.
Streaming
Inherits all Message streaming methods.
Use case
ThreadMessage methods enable: