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.18/rest/v8/mod.ts";
Properties
optional
allow: Permissions | nullThe bitwise value of all allowed permissions
optional
deny: Permissions | nullThe bitwise value of all disallowed permissions
type: OverwriteType
0
for a role or 1
for a member