interface RawChannel {
    application_id?: string;
    applied_tags?: string[];
    available_tags?: RawForumTag[];
    bitrate?: number;
    default_auto_archive_duration?: 60 | 1440 | 4320 | 10080;
    default_forum_layout?: ForumLayoutTypes;
    default_reaction_emoji?: null | {
        emoji_id: null | string;
        emoji_name: null | string;
    };
    default_sort_order?: null | SortOrderTypes;
    default_thread_rate_limit_per_user?: number;
    flags?: number;
    guild_id?: string;
    icon?: null | string;
    id: string;
    last_message_id?: null | string;
    last_pin_timestamp?: null | string;
    managed?: boolean;
    member?: RawChannelThreadMember;
    member_count?: number;
    message_count?: number;
    name?: null | string;
    newly_created?: boolean;
    nsfw?: boolean;
    owner_id?: string;
    parent_id?: null | string;
    permission_overwrites?: RawOverwrite[];
    permissions?: string;
    position?: number;
    rate_limit_per_user?: number;
    recipients?: RawUser[];
    rtc_region?: null | string;
    status?: null | string;
    thread_metadata?: RawThreadMetadata;
    topic?: null | string;
    total_message_sent?: number;
    type: ChannelTypes;
    user_limit?: number;
    video_quality_mode?: VideoQualityModes;
}

Properties

application_id?: string
applied_tags?: string[]
available_tags?: RawForumTag[]
bitrate?: number
default_auto_archive_duration?: 60 | 1440 | 4320 | 10080
default_forum_layout?: ForumLayoutTypes
default_reaction_emoji?: null | {
    emoji_id: null | string;
    emoji_name: null | string;
}

Type declaration

  • emoji_id: null | string
  • emoji_name: null | string
default_sort_order?: null | SortOrderTypes
default_thread_rate_limit_per_user?: number
flags?: number
guild_id?: string
icon?: null | string
id: string
last_message_id?: null | string
last_pin_timestamp?: null | string
managed?: boolean
member_count?: number
message_count?: number
name?: null | string
newly_created?: boolean
nsfw?: boolean
owner_id?: string
parent_id?: null | string
permission_overwrites?: RawOverwrite[]
permissions?: string
position?: number
rate_limit_per_user?: number
recipients?: RawUser[]
rtc_region?: null | string
status?: null | string
thread_metadata?: RawThreadMetadata
topic?: null | string
total_message_sent?: number
user_limit?: number
video_quality_mode?: VideoQualityModes