DiscordChannel: {
    application_id?: string;
    applied_tags?: string[];
    available_tags?: DiscordForumTag[];
    bitrate?: number;
    default_auto_archive_duration?: number;
    default_forum_layout?: DiscordForumLayoutTypes;
    default_reaction_emoji?: DiscordDefaultReactionEmoji;
    default_sort_order?: DiscordSortOrderTypes;
    default_thread_rate_limit_per_user?: number;
    flags?: number;
    guild_id?: string;
    icon?: string;
    id: string;
    last_message_id?: string;
    last_pin_timestamp?: string;
    member?: DiscordThreadMember;
    member_count?: number;
    message_count?: number;
    name?: string;
    nsfw?: boolean;
    owner_id?: string;
    parent_id?: string;
    permission_overwrites?: DiscordOverwrite[];
    permissions?: string;
    position?: number;
    rate_limit_per_user?: number;
    recipients?: DiscordUser[];
    rtc_region?: string;
    thread_metadata?: DiscordThreadMetadata;
    topic?: string;
    total_message_sent?: number;
    type: DiscordChannelTypes;
    user_limit?: number;
    video_quality_mode?: DiscordVideoQualityModes;
}

Represents a guild or DM channel within Discord. This can be any type of channel (text, voice, category, etc.). See DiscordChannelTypes for a list of all channel types.

See

https://discord.com/developers/docs/resources/channel#channel-object-channel-structure

Type declaration

  • Optional application_id?: string
  • Optional applied_tags?: string[]
  • Optional available_tags?: DiscordForumTag[]
  • Optional bitrate?: number
  • Optional default_auto_archive_duration?: number
  • Optional default_forum_layout?: DiscordForumLayoutTypes
  • Optional default_reaction_emoji?: DiscordDefaultReactionEmoji
  • Optional default_sort_order?: DiscordSortOrderTypes
  • Optional default_thread_rate_limit_per_user?: number
  • Optional flags?: number
  • Optional guild_id?: string
  • Optional icon?: string
  • id: string
  • Optional last_message_id?: string
  • Optional last_pin_timestamp?: string
  • Optional member?: DiscordThreadMember
  • Optional member_count?: number
  • Optional message_count?: number
  • Optional name?: string
  • Optional nsfw?: boolean
  • Optional owner_id?: string
  • Optional parent_id?: string
  • Optional permission_overwrites?: DiscordOverwrite[]
  • Optional permissions?: string
  • Optional position?: number
  • Optional rate_limit_per_user?: number
  • Optional recipients?: DiscordUser[]
  • Optional rtc_region?: string
  • Optional thread_metadata?: DiscordThreadMetadata
  • Optional topic?: string
  • Optional total_message_sent?: number
  • type: DiscordChannelTypes
  • Optional user_limit?: number
  • Optional video_quality_mode?: DiscordVideoQualityModes

Generated using TypeDoc