Skip to main content
Module

x/discordeno/mod.ts>CreateGuildChannel

Discord API library for Deno
Extremely Popular
Go to Latest
interface CreateGuildChannel
import { type CreateGuildChannel } from "https://deno.land/x/discordeno@13.0.0-rc45/mod.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: bigint

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