Skip to main content
Module

x/discord_api_types/v8.ts>RESTPutAPIChannelPermissionJSONBody

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface RESTPutAPIChannelPermissionJSONBody
Re-export
Deprecated
Deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

import { type RESTPutAPIChannelPermissionJSONBody } from "https://deno.land/x/discord_api_types@0.37.11/v8.ts";

Properties

optional
allow: Permissions | null

The bitwise value of all allowed permissions

See https://en.wikipedia.org/wiki/Bit_field

optional
deny: Permissions | null

The bitwise value of all disallowed permissions

See https://en.wikipedia.org/wiki/Bit_field

0 for a role or 1 for a member