Created at Format: date-time
Group ID
Optionalpriority?: numberPriority
The priority of the category 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 descending order. Due to legacy issues, sending a null value is not possible
Server ID
OptionalupdatedAt?: stringUpdated at Format: date-time
App's client.
Date of the creation of the category.
The ID of the group
The ID of the server
Item ID
Name of the category (min length 1; max length 100)
The date of the last edition of the category.
Create a channel category permission assigned to a user or role.
ID of the user (string) or role (number) to assign the permission to
Permission options
Warning: targetID must have the correct type (number=role, string=user).
A JSON object of Enums/Permissions with true, false or null values. Permission list can only contain relevant permissions for the channel type
Delete a guild category.
Delete a category permission.
ID of the user or role to delete the permission from
Update a guild category.
Edit options.
Optionalname?: stringOptionalpriority?: numberPriority
The priority of the category 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 descending order. Due to legacy issues, sending a null value is not possible
Update a category permission.
Warning: targetID must have the correct type (number=role, string=user).
A JSON object of Enums/Permissions with true, false or null values. Permission list can only contain relevant permissions for the channel type
Get permission coming from a category.
ID of the user (string) or role (number) to get the permission for
Warning: targetID must have the correct type (number=role, string=user).
Get permissions of a category.
Get role permissions from a specified category.
Get user permissions from a specified category.
Represents a Guild Category.