---
source_url: https://www.pubnub.com/docs/chat/unity-chat-sdk/learn/chat-entities/thread-channel
title: ThreadChannel object
updated_at: 2026-06-12T11:23:21.069Z
---

> Documentation Index
> For a curated overview of PubNub documentation, see: https://www.pubnub.com/docs/llms.txt
> For the full list of all documentation pages, see: https://www.pubnub.com/docs/llms-full.txt


# ThreadChannel object

`ThreadChannel` represents a single thread (channel) in a chat.

## Properties

`ThreadChannel` extends `Channel` and adds:

```csharp
public class ThreadChannel : Channel {
    public string ParentChannelId  { get; }
    public string ParentMessageTimeToken { get; }
}
```

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| parentChannelId | string | Optional |  | Unique identifier of the main channel on which you create a subchannel (thread channel) and thread messages. |
| ParentMessageTimeToken | string | Optional |  | The time token of the message that started the thread. |

## Methods

You can call the following methods on the `ThreadChannel` object.

Click on each method for more details.

### Standard methods

* [GetThreadHistory()](https://www.pubnub.com/docs/chat/unity-chat-sdk/build/features/messages/threads#get-historical-thread-message)
* [PinMessageToParentChannel()](https://www.pubnub.com/docs/chat/unity-chat-sdk/build/features/messages/threads#pin-thread-message-to-parent-channel)
* [UnPinMessageFromParentChannel()](https://www.pubnub.com/docs/chat/unity-chat-sdk/build/features/messages/threads#unpin-thread-message-from-parent-channel)
* All standard methods available under the [Channel object](https://www.pubnub.com/docs/chat/unity-chat-sdk/learn/chat-entities/channel#standard-methods).

### Streaming methods

`ThreadChannel` inherits all streaming methods from [Channel](https://www.pubnub.com/docs/chat/unity-chat-sdk/learn/chat-entities/channel#streaming-methods).

## Use case

`ThreadChannel` methods enable:

* Creating and replying in [threads](https://www.pubnub.com/docs/chat/unity-chat-sdk/build/features/messages/threads)
* [Pinning](https://www.pubnub.com/docs/chat/unity-chat-sdk/build/features/messages/threads#pin-thread-message-to-thread-channel) important information