pub async fn edit_channel_permissions(
client: &Client,
token: &str,
channel_id: &str,
overwrite_id: &str,
permissions: Value,
) -> Result<(), Box<dyn Error>>Expand description
Edits channel permissions.
§Arguments
client- The HTTP client used to send the request.token- The bot token for authentication.channel_id- The ID of the channel to edit permissions for.overwrite_id- The ID of the overwrite to edit.permissions- The JSON value of the permissions to update.
§Returns
A result indicating success or failure.