Skip to main content
interface RawModifyChannelPayload
import { type RawModifyChannelPayload } from "https://deno.land/x/denord@0.1.0/raw/RawModifyChannelPayload.ts";

Properties

optional
name: string

2-100 character channel name All

optional
type: ChannelType

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

optional
position: integer

the position of the channel in the left-hand listing All

optional
topic: string

0-1024 character channel topic Text, News

optional
nsfw: boolean

whether the channel is nsfw Text, News, Store

optional
rate_limit_per_user: integer

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 Text

optional
bitrate: integer

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

optional
user_limit: integer

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

optional
permission_overwrites: RawOverwrite[]

channel or category-specific permissions All

optional
parent_id: CategoryId

id of the new parent category for a channel Text, News, Store, Voice