Interface APIGuildChannel<T>

Type Parameters

Hierarchy

Properties

flags?: ChannelFlags
guild_id?: string

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

id: string

The id of the channel

name: string

The name of the channel (1-100 characters)

nsfw?: boolean

Whether the channel is nsfw

parent_id?: null | string

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

permission_overwrites?: APIOverwrite[]

Explicit permission overwrites for members and roles

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

position: number

Sorting position of the channel

type: T

Generated using TypeDoc