updateFooterComment method
Update a footer comment. This can be used to update the body text of a comment.
Permissions required: Permission to view the content of the page or blogpost and its corresponding space. Permission to create comments in the space.
Implementation
Future<FooterCommentModel> updateFooterComment(
{required int commentId, required UpdateFooterCommentModel body}) async {
return FooterCommentModel.fromJson(await _client.send(
'put',
'footer-comments/{comment-id}',
pathParameters: {
'comment-id': '$commentId',
},
body: body.toJson(),
));
}