Skip to main content
Module

x/discord_api_types/v9.ts>APIGuildChannel

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIGuildChannel
implements APIChannelBase<T>
import { type APIGuildChannel } from "https://deno.land/x/discord_api_types@0.37.11/v9.ts";

Properties

optional
guild_id: Snowflake

The id of the guild (may be missing for some channel objects received over gateway guild dispatches)

optional
permission_overwrites: APIOverwrite[]

Explicit permission overwrites for members and roles

See https://discord.com/developers/docs/resources/channel#overwrite-object

optional
position: number

Sorting position of the channel

optional
parent_id: Snowflake | null

ID of the parent category for a channel (each parent category can contain up to 50 channels)

OR

ID of the parent channel for a thread

optional
nsfw: boolean

Whether the channel is nsfw