The permissions the bot has in the channel.
The flags of this channel.
Optional guildIDThe id of the guild this channel is in.
Optional lastThe ID of last message sent in this channel.
Optional lastThe timestamp of the last pinned message in this channel.
The name of this channel.
Optional nsfwIf this channel is age gated.
The ID of the parent of this channel, if this represents a thread.
The permissions the user has in the channel.
Optional positionThe position of this channel on the sidebar.
Optional rateThe amount of seconds between non-moderators sending messages.
The thread metadata associated with this channel, if this represents a thread.
Optional topicThe topic of the channel.
The type of this channel.
The complete channel this channel option represents, if it's cached.
A string that will mention this channel.
The parent of this channel, if this represents a thread.
Static fromStatic generateIDStatic getStatic get
Represents a channel from an interaction option. This can be any guild channel, or a direct message.