insert_comment


Description:

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

Adds comment to the Commentable.

If the Commentable doesn't support commenting, null will be returned and error will be set to FORBIDDEN.

Parameters:

this

a Commentable

service

a Service with which the comment will be added

comment_

a new comment to be added to the Commentable

cancellable

optional Cancellable object, or null

Returns:

the added Comment, or null; unref with unref