interface APIGuildChannel

extends

APIChannelBase<T>
export interface APIGuildChannel<T extends ChannelType> extends APIChannelBase<T>

Type Parameters

T extends ChannelType

optional
flags? : ChannelFlags

Inherited from: v10/APIChannelBase

optional
guild_id? : Snowflake

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

id : Snowflake

The id of the channel

Inherited from: v10/APIBasePartialChannel

name : string

The name of the channel (1-100 characters)

optional
nsfw? : boolean

Whether the channel is nsfw

optional
parent_id? : Snowflake | null

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

optional
permission_overwrites? : APIOverwrite[]

Explicit permission overwrites for members and roles

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

type : T

Inherited from: v10/APIChannelBase