Interface
APIChannel
Full channel object from GET /channels/{id} or GET /guilds/{id}/channels.
Extends Omit
Properties
| Name | Type | Description |
|---|---|---|
| bitrate? | number | null | Voice bitrate (kbps). |
| content_warning_level? | ContentWarningLevel | Content warning level. |
| content_warning_text? | string | null | Content warning custom text. |
| guild_id? | Snowflake | Guild ID (absent for DMs). |
| icon? | string | null | Channel icon hash. |
| last_message_id? | Snowflake | null | Last message ID in this channel. |
| last_pin_timestamp? | string | null | ISO-8601 timestamp of last pin. |
| name? | string | Channel name. |
| nicks? | Record<string, string> | User-specific nicknames in group DMs (user_id -> nick). |
| nsfw? | boolean | Whether the channel is NSFW. |
| nsfw_override? | boolean | null | Per-channel NSFW override (null inherits). |
| owner_id? | Snowflake | null | Owner ID (group DMs). |
| parent_id? | Snowflake | null | Parent category ID. |
| permission_overwrites? | APIChannelOverwrite[] | Permission overwrites. |
| position? | number | Sort position in the channel list. |
| rate_limit_per_user? | number | Slowmode delay in seconds. |
| recipients? | APIUser[] | DM/group DM recipients. |
| rtc_region? | string | null | Voice RTC region ID. |
| topic? | string | null | Channel topic. |
| url? | string | null | External URL (link channels, type 998). |
| user_limit? | number | null | Voice user limit (0 = unlimited). |
| voice_connection_limit? | number | null | Max active voice connections per user in this channel. |