Interface GatewayEvent_CategoryCreated

interface GatewayEvent_CategoryCreated {
    category: {
        createdAt: string;
        groupId: string;
        id: number;
        name: string;
        priority?: number;
        serverId: string;
        updatedAt?: string;
    };
    serverId: string;
}

Properties

Properties

category: {
    createdAt: string;
    groupId: string;
    id: number;
    name: string;
    priority?: number;
    serverId: string;
    updatedAt?: string;
}

Type declaration

  • createdAt: string

    Created at Format: date-time

    The ISO 8601 timestamp that the category was created at

  • groupId: string

    Group ID

    The ID of the group

  • id: number

    The ID of the category

  • name: string

    Name of the category

  • Optionalpriority?: number

    Priority

    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

  • serverId: string

    Server ID

    The ID of the server

  • OptionalupdatedAt?: string

    Updated at Format: date-time

    The ISO 8601 timestamp that the category was updated at, if relevant

serverId: string

The ID of the server