Comments
class Comments extends Resource (View source)
The "comments" collection of methods.
Typical usage is:
$bloggerService = new Google\Service\Blogger(...);
$comments = $bloggerService->comments;
Methods
Marks a comment as not spam by blog id, post id and comment id.
Deletes a comment by blog id, post id and comment id. (comments.delete)
Gets a comment by id. (comments.get)
Lists comments. (comments.listComments)
Lists comments by blog. (comments.listByBlog)
Marks a comment as spam by blog id, post id and comment id.
Removes the content of a comment by blog id, post id and comment id.
Details
Comment
approve(string $blogId, string $postId, string $commentId, array $optParams = [])
Marks a comment as not spam by blog id, post id and comment id.
(comments.approve)
delete(string $blogId, string $postId, string $commentId, array $optParams = [])
Deletes a comment by blog id, post id and comment id. (comments.delete)
Comment
get(string $blogId, string $postId, string $commentId, array $optParams = [])
Gets a comment by id. (comments.get)
CommentList
listComments(string $blogId, string $postId, array $optParams = [])
Lists comments. (comments.listComments)
CommentList
listByBlog(string $blogId, array $optParams = [])
Lists comments by blog. (comments.listByBlog)
Comment
markAsSpam(string $blogId, string $postId, string $commentId, array $optParams = [])
Marks a comment as spam by blog id, post id and comment id.
(comments.markAsSpam)
Comment
removeContent(string $blogId, string $postId, string $commentId, array $optParams = [])
Removes the content of a comment by blog id, post id and comment id.
(comments.removeContent)