delete_comment


Description:

public bool delete_comment (Service service, Comment comment_, Cancellable? cancellable = null) throws Error

Deletes comment from the Commentable.

If the given comment isn't deletable (either because the service doesn't support deleting comments at all, or because this particular comment is not deletable due to having insufficient permissions), FORBIDDEN will be set in error and false will be returned.

Parameters:

this

a Commentable

service

a Service with which the comment will be deleted

comment_

a comment to be deleted

cancellable

optional Cancellable object, or null

Returns:

true if the comment was successfully deleted, false otherwise