# Create Channel

> Create a text/voice/stage/etc channel or channel category in a server.

- ID: `create_channel`
- Type: Block
- Category: [Channels](https://inventor.bot/docs/reference/blocks/channels.md)

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `server_id` | yes | ID of the server to create the channel in. |  |
| `channel_name` | yes | Name of the channel to create. |  |
| `channel_type` | yes | Type of channel to create. | `"Text"`, `"Voice"`, `"Stage"`, `"Category"`, `"News"`, `"Forum"` |
| `channel_topic` |  | Topic of the channel to create. |  |
| `channel_category_id` |  | ID of the category to create the channel in. |  |
| `channel_position` |  | Position of the channel in the server. |  |
| `channel_user_limit` |  | User limit for voice and stage channels. |  |

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `channel_id` | ID of the created channel. |  |

**Example**

```go
channel := create_channel(Args{
	server_id:    trigger.server_id,
	channel_name: "...",
	channel_type: "Text",
})
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Channel ID: " + channel.channel_id,
})
```