Skip to main content
Module

x/denord/mod.ts>ModifyChannelPayload

🗣 Discord API module
Latest
interface ModifyChannelPayload
import { type ModifyChannelPayload } from "https://deno.land/x/denord@0.1.0/mod.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
rateLimitPerUser: integer

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

optional
bitrate: integer

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

optional
userLimit: integer

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

optional
permissionOverwrites: Overwrite[]

channel or category-specific permissions All

optional
parentId: CategoryId

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