# Get Channel

> Retrieve a Discord channel's information by its ID.

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

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `channel_id` | yes | ID of the channel to retrieve. |  |

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `channel_id` | ID of the channel. |  |
| `channel_name` | Name of the channel. |  |
| `channel_topic` | Topic of the channel. |  |
| `channel_position` | Position of the channel in the server. | e.g. `"3"` |
| `channel_type` | Type of channel (Text, Voice, etc.). |  |
| `channel_nsfw` | Whether the channel is marked NSFW. |  |
| `parent_channel_id` | ID of the parent category or thread owner. |  |
| `voice_channel_limit` | User limit for voice channels. | e.g. `"0"` |
| `channel_user_limit` | User limit for voice and stage channels. | e.g. `"0"` |
| `thread_channel_member_count` | Member count for thread channels. | e.g. `"0"` |
| `thread_owner_id` | Owner ID for thread channels. |  |
| `channel_link` | Link to the channel. | e.g. `"https://discord.com/channels/123/456"` |
| `applied_forum_tags` | Comma-separated applied forum tag IDs. |  |
| `available_forum_tags` | Comma-separated available forum tag IDs. |  |
| `last_message_id` | ID of the last message sent in the channel. |  |
| `server_id` | ID of the server containing the channel. |  |
| `channel_slow_mode` | Slowmode delay in seconds (0 means disabled). | e.g. `"0"` |

**Example**

```go
channel := get_discord_channel(Args{channel_id: trigger.channel_id})
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Channel ID: " + channel.channel_id,
})
```