Optional
archivedOptional
archivedThe ID of the user who archived this channel
Optional
categoryThe category that the channel exists in. Only relevant for server channels
The ISO 8601 timestamp that the channel was created at
The ID of the user who created this channel
The ID of the group
The ID of the channel
Optional
messageThe ID of the message that this channel was created off of. Only applicable to "chat", "voice", and "stream" channels and indicates that this channel is a thread, if present
The name of the channel
Optional
parentID of the immediate parent channel or thread in the channel hierarchy. Only applicable to "chat", "voice", and "stream" channels and indicates that this channel is a thread, if present
Optional
priority?: numberThe priority of the channel will determine its position relative to other categories in the group. The higher the value, the higher up it will be displayed in the UI. Returned values can be null, in which case sorting will be done by createdAt
in ascending order. Due to legacy issues, sending a null value is not possible
Optional
rootID of the root channel or thread in the channel hierarchy. Only applicable to "chat", "voice", and "stream" channels and indicates that this channel is a thread, if present
The ID of the server
Optional
topic?: stringThe topic of the channel. Not applicable to threads
The type of channel. This will determine what routes to use for creating content in a channel. For example, if this "chat", then one must use the routes for creating channel messages
Optional
updatedThe ISO 8601 timestamp that the channel was updated at, if relevant
Optional
visibility?: "private" | "public" | nullWhat users can access the channel. Only applicable to server channels. If not present, this channel will respect normal permissions. public
is accessible to everyone, even those who aren't of the server. private
is only accessible to explicitly mentioned users. Currently, threads cannot be public
and other channels cannot be private
. Additionally, private
threads can only exist with an associated messageId
that is for a private message
Generated using TypeDoc
The ISO 8601 timestamp that the channel was archived at, if relevant