Latest
interface CreateGuildChannel
implements WithReason
import { type CreateGuildChannel } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/helpers/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

optional
defaultReactionEmoji: { emojiId?: BigString | null; emojiName?: string | null; }

Emoji to show in the add reaction button on a thread in a forum channel

optional
availableTags: { id: BigString; name: string; moderated: boolean; emojiId: BigString; emojiName?: string; }[]

Set of tags that can be used in a forum channel

optional
defaultSortOrder: SortOrderTypes | null

the default sort order type used to order posts in forum channels