interface APIGuildChannel
extends
Omit<APIChannelBase<T>, 'name'>export interface APIGuildChannel<T extends ChannelType> extends Omit<APIChannelBase<T>, 'name'>
Type Parameters
ChannelType T extends
optionalSnowflake guild_id? :
The id of the guild (may be missing for some channel objects received over gateway guild dispatches)
string name :
The name of the channel (1-100 characters)
optionalboolean nsfw? :
Whether the channel is nsfw
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
optionalAPIOverwrite[] permission_overwrites? :
Explicit permission overwrites for members and rolesSee https://discord.com/developers/docs/resources/channel#overwrite-object
number position :
Sorting position of the channel