pub async fn delete_channel_permission(
client: &Client,
token: &str,
channel_id: &str,
overwrite_id: &str,
) -> Result<(), Box<dyn Error>>
Expand description
Deletes a channel permission overwrite.
§Arguments
client
- The HTTP client used to send the request.token
- The bot token for authentication.channel_id
- The ID of the channel to delete the permission overwrite for.overwrite_id
- The ID of the overwrite to delete.
§Returns
A result indicating success or failure.