Interface GatewayEvent_ChannelCategoryRolePermissionDeleted

interface GatewayEvent_ChannelCategoryRolePermissionDeleted {
    channelCategoryRolePermission: {
        categoryId: number;
        createdAt: string;
        permissions: {
            [key: string]: boolean;
        };
        roleId: number;
        updatedAt?: string;
    };
    serverId: string;
}

Properties

channelCategoryRolePermission: {
    categoryId: number;
    createdAt: string;
    permissions: {
        [key: string]: boolean;
    };
    roleId: number;
    updatedAt?: string;
}

Type declaration

  • categoryId: number

    The ID of the category

  • createdAt: string

    Created at Format: date-time

    The ISO 8601 timestamp that the permission override was created at

  • permissions: {
        [key: string]: boolean;
    }
    • [key: string]: boolean
  • roleId: number

    Role ID

    The ID of the role

  • OptionalupdatedAt?: string

    Updated at Format: date-time

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

serverId: string

The ID of the server