Interface GatewayEvent_ChannelRolePermissionDeleted

interface GatewayEvent_ChannelRolePermissionDeleted {
    channelRolePermission: {
        channelId: string;
        createdAt: string;
        permissions: {
            [key: string]: boolean;
        };
        roleId: number;
        updatedAt?: string;
    };
    serverId: string;
}

Properties

channelRolePermission: {
    channelId: string;
    createdAt: string;
    permissions: {
        [key: string]: boolean;
    };
    roleId: number;
    updatedAt?: string;
}

Type declaration

  • channelId: string

    Channel ID Format: uuid

    The ID of the channel

  • 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