Skip to main content
Module

x/discord_api_types/rest/v8/channel.ts>RESTPutAPIChannelPermissionJSONBody

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface RESTPutAPIChannelPermissionJSONBody
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.21/rest/v8/channel.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