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

Properties

name: string

channel name (2-100 characters)

optional
type: ChannelType

the type of channel

optional
topic: string

channel topic (0-1024 characters)

optional
bitrate: integer

the bitrate (in bits) of the voice channel (voice only)

optional
userLimit: integer

the user limit of the voice channel (voice only)

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

optional
position: integer

sorting position of the channel

optional
permissionOverwrites: Overwrite[]

the channel's permission overwrites

optional
parentId: CategoryId

id of the parent category for a channel

optional
nsfw: boolean

whether the channel is nsfw