Type alias EditChannelData

EditChannelData: {
    bitrate?: number | null;
    default_auto_archive_duration?: number | null;
    name?: string;
    nsfw?: boolean | null;
    parent_id?: string | null;
    permission_overwrites?: Overwrite[] | null;
    position?: number | null;
    rate_limit_per_user?: number | null;
    rtc_region?: string | null;
    topic?: string | null;
    type?: 0 | 5;
    user_limit?: number | null;
    video_quality_mode?: 1 | 2 | null;
}

Type declaration

  • Optional bitrate?: number | null

    Update bitrate of the channel

  • Optional default_auto_archive_duration?: number | null

    The default value for timeouts clients use, in minutes, when creating threads before they become stale and are archived

  • Optional name?: string

    New name of the channel

  • Optional nsfw?: boolean | null

    Update nsfw type of the channel

  • Optional parent_id?: string | null

    Id of the parent category of the channel

  • Optional permission_overwrites?: Overwrite[] | null

    Update the permission overwrites

  • Optional position?: number | null

    New position of the channel

  • Optional rate_limit_per_user?: number | null

    amount of seconds a user has to wait before sending another message (0-21600). bots, as well as users with the permission MANAGE_MESSAGES or MANAGE_CHANNEL, are unaffected

  • Optional rtc_region?: string | null

    The region id for the voice channel. Automatic when set to null

  • Optional topic?: string | null

    New topic of the channel

  • Optional type?: 0 | 5

    The type of the channel. Only can convert between text and news channels. Only available in Guilds with the NEWS feature

  • Optional user_limit?: number | null

    Update the limit of users that are allowed to be in a channel

  • Optional video_quality_mode?: 1 | 2 | null

    The camera video quality mode.

Generated using TypeDoc