# Start Thread From Channel

> Start a thread from a channel.

- ID: `start_thread_from_channel`
- Type: Block
- Category: [Threads](https://inventor.bot/docs/reference/blocks/threads.md)

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `channel_id` | yes | ID of the channel to start the thread in. |  |
| `thread_name` | yes | Name of the thread. |  |
| `archive_duration` |  | Duration to archive the thread after. | `"1 Hour"`, `"24 Hours"`, `"3 Days"`, `"1 Week"` |
| `thread_type` |  | Type of thread to create. | `"Public"`, `"Private"` |

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `thread_id` | ID of the created thread. |  |

**Example**

```go
threadFromChannel := start_thread_from_channel(Args{channel_id: trigger.channel_id, thread_name: "..."})
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Thread ID: " + threadFromChannel.thread_id,
})
```