channels_get
channels_get
Section titled “channels_get”Category: channels
Fetch full metadata for a single Discord channel.
When to use
Section titled “When to use”inspect topic, slowmode, nsfw of a known channel.
When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
channel_id | string | yes | Target channel ID |
Returns
Section titled “Returns”\{id, name, type, position, parent_id, nsfw, topic, rate_limit_per_user, guild_id\}. topic wrapped in \<untrusted_discord_channel_topic> (user-controlled).
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | Discord channel ID (snowflake) |
name | string | yes | |
type | integer | yes | |
position | integer | yes | |
parent_id | unknown | yes | |
nsfw | boolean | yes | |
topic | unknown | yes | |
rate_limit_per_user | integer | yes | |
guild_id | string | no | Discord guild (server) ID |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | yes |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |