This interface is used to allow easy extension for other channel types. While also allowing APIPartialChannel to be used without breaking.
APIPartialChannel
Optional
The id of the channel
When the last pinned message was pinned. This may be null in events such as GUILD_CREATE when a message is not pinned
null
GUILD_CREATE
The type of the channel
https://discord.com/developers/docs/resources/channel#channel-object-channel-types
This interface is used to allow easy extension for other channel types. While also allowing
APIPartialChannel
to be used without breaking.