Skip to main content

Channel

A Discord channel.

idstring<snowflake>required

Discord ID of the channel.

namestringrequired

Name of the channel.

Example: general
typeinteger<enum>required

Type of channel. Discord Channel type, or 999 for Statbot Aggregate Channels.

parentIdstring<snowflake>nullablerequired

Discord ID of the parent channel, if any.

isActiveinteger<enum>required

If the channel still exists in Discord.

ENUM VALUEDESCRIPTION
0Channel has been deleted.
1Channel is active.
Channel
{
"id": "123456789012345678",
"name": "general",
"type": 0,
"parentId": "123456789012345678",
"isActive": 1
}