Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface CreateGuildChannel
implements WithReason
import { type CreateGuildChannel } from "https://deno.land/x/discordeno@17.0.1/packages/embeds/deps.ts";

Properties

name: string

Channel name (1-100 characters)

optional
type: ChannelTypes

The type of channel

optional
topic: string

Channel topic (0-1024 characters)

optional
bitrate: number

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

optional
userLimit: number

The user limit of the voice channel (voice only)

optional
rateLimitPerUser: number

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
position: number

Sorting position of the channel

optional
permissionOverwrites: OverwriteReadable[]

The channel's permission overwrites

optional
parentId: BigString

Id of the parent category for a channel

optional
nsfw: boolean

Whether the channel is nsfw

optional
defaultAutoArchiveDuration: number

Default duration (in minutes) that clients (not the API) use for newly created threads in this channel, to determine when to automatically archive the thread after the last activity