Optional
flagsOptional
guild_The id of the guild (may be missing for some channel objects received over gateway guild dispatches)
The id of the channel
The name of the channel (1-100 characters)
Optional
nsfwWhether the channel is nsfw
Optional
parent_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
permission_Explicit permission overwrites for members and roles
The type of the channel
This interface is used to allow easy extension for other channel types. While also allowing
APIPartialChannel
to be used without breaking.