Interface

APIChannel

Full channel object from GET /channels/{id} or GET /guilds/{id}/channels.

Extends Omit

Properties

NameTypeDescription
bitrate?number | nullVoice bitrate (kbps).
content_warning_level?ContentWarningLevelContent warning level.
content_warning_text?string | nullContent warning custom text.
guild_id?SnowflakeGuild ID (absent for DMs).
icon?string | nullChannel icon hash.
last_message_id?Snowflake | nullLast message ID in this channel.
last_pin_timestamp?string | nullISO-8601 timestamp of last pin.
name?stringChannel name.
nicks?Record<string, string>User-specific nicknames in group DMs (user_id -> nick).
nsfw?booleanWhether the channel is NSFW.
nsfw_override?boolean | nullPer-channel NSFW override (null inherits).
owner_id?Snowflake | nullOwner ID (group DMs).
parent_id?Snowflake | nullParent category ID.
permission_overwrites?APIChannelOverwrite[]Permission overwrites.
position?numberSort position in the channel list.
rate_limit_per_user?numberSlowmode delay in seconds.
recipients?APIUser[]DM/group DM recipients.
rtc_region?string | nullVoice RTC region ID.
topic?string | nullChannel topic.
url?string | nullExternal URL (link channels, type 998).
user_limit?number | nullVoice user limit (0 = unlimited).
voice_connection_limit?number | nullMax active voice connections per user in this channel.