Method EditChannelPermissionsAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
EditChannelPermissionsAsync(ulong, ulong, DiscordPermissions, DiscordPermissions, string, string)
Edits channel overwrite
public Task EditChannelPermissionsAsync(ulong channelId, ulong overwriteId, DiscordPermissions allow, DiscordPermissions deny, string type, string reason)
Parameters
channelId
ulongChannel ID
overwriteId
ulongOverwrite ID
allow
DiscordPermissionsPermissions to allow
deny
DiscordPermissionsPermissions to deny
type
stringOverwrite type
reason
stringReason this overwrite was created