Interface GatewayEvent_ChannelUserPermissionDeleted

interface GatewayEvent_ChannelUserPermissionDeleted {
    channelUserPermission: {
        channelId: string;
        createdAt: string;
        permissions: {
            [key: string]: boolean;
        };
        updatedAt?: string;
        userId: string;
    };
    serverId: string;
}

Properties

channelUserPermission: {
    channelId: string;
    createdAt: string;
    permissions: {
        [key: string]: boolean;
    };
    updatedAt?: string;
    userId: 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
  • 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