Skip to main content
Module

x/discord_api_types/v8.ts>RESTPatchAPIChannelJSONBody

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface RESTPatchAPIChannelJSONBody
Deprecated
Deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

import { type RESTPatchAPIChannelJSONBody } from "https://deno.land/x/discord_api_types@0.37.82/v8.ts";

Properties

optional
name: string | undefined

1-100 character channel name

Channel types: all

optional
type: ChannelType.GuildNews | ChannelType.GuildText | undefined

The type of channel; only conversion between text and news is supported and only in guilds with the "NEWS" feature

Channel types: text, news

optional
position: number | null | undefined

The position of the channel in the left-hand listing

Channel types: all

optional
topic: string | null | undefined

0-1024 character channel topic

Channel types: text, news

optional
nsfw: boolean | null | undefined

Whether the channel is nsfw

Channel types: text, news, store

optional
rate_limit_per_user: number | null | undefined

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_CHANNELS, are unaffected

Channel types: text

optional
bitrate: number | null | undefined

The bitrate (in bits) of the voice channel; 8000 to 96000 (128000 for VIP servers)

Channel types: voice

optional
user_limit: number | null | undefined

The user limit of the voice channel; 0 refers to no limit, 1 to 99 refers to a user limit

Channel types: voice

optional
permission_overwrites: APIChannelPatchOverwrite[] | null | undefined

Channel or category-specific permissions

Channel types: all

optional
parent_id: Snowflake | null | undefined

ID of the new parent category for a channel

Channel types: text, news, store, voice

optional
rtc_region: string | null | undefined

Voice region id for the voice or stage channel, automatic when set to null

See https://discord.com/developers/docs/resources/voice#voice-region-object

optional
video_quality_mode: VideoQualityMode | null | undefined