Skip to main content

AggregateChannel

A Statbot Aggregate 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.

aggregatebooleanrequired

Whether the channel is an aggregate channel.

autoMergeEnabledbooleanrequired

Whether auto-merge is enabled for this Aggregate Channel.

autoMergeChannelIdsstring<snowflake>[]required

List of channel IDs that data is auto-merged from.

autoMergeTypesstring<enum>[]required

List of data types to auto-merge.

Possible values: [text, voice]

Example: ["text","voice"]
createdUnixTimestampinteger<unix-timestamp>required

Unix timestamp in ms when the Aggregate Channel was created.

AggregateChannel
{
"id": "123456789012345678",
"name": "general",
"type": 0,
"parentId": "123456789012345678",
"aggregate": true,
"autoMergeEnabled": true,
"autoMergeChannelIds": [
"123456789012345678",
"987654321098765432"
],
"autoMergeTypes": [
"text",
"voice"
],
"createdUnixTimestamp": 1633072800000
}