Interface GatewayEvent_ChannelCategoryUserPermissionCreated

interface GatewayEvent_ChannelCategoryUserPermissionCreated {
    channelCategoryUserPermission: {
        categoryId: number;
        createdAt: string;
        permissions: {
            [key: string]: boolean;
        };
        updatedAt?: string;
        userId: string;
    };
    serverId: string;
}

Properties

channelCategoryUserPermission: {
    categoryId: number;
    createdAt: string;
    permissions: {
        [key: string]: boolean;
    };
    updatedAt?: string;
    userId: 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
  • OptionalupdatedAt?: string

    Updated at Format: date-time

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

  • userId: string

    User ID Format: user-id

    The ID of the user

serverId: string

The ID of the server