interface APIGuildChannel

extends

Omit<APIChannelBase<T>, 'name'>
external
export interface APIGuildChannel<T extends ChannelType> extends Omit<APIChannelBase<T>, 'name'>

Type Parameters

T extends ChannelType

optionalexternal
guild_id? : Snowflake

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

external
name : string

The name of the channel (1-100 characters)

optionalexternal
nsfw? : boolean

Whether the channel is nsfw

optionalexternal
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

optionalexternal
permission_overwrites? : APIOverwrite[]

Explicit permission overwrites for members and rolesSee https://discord.com/developers/docs/resources/channel#overwrite-object

external
position : number

Sorting position of the channel