postCommentReply method
Add a new reply to an existing comment.
Make sure to allow and encourage spoilers to be indicated in your app and follow the rules listed above.
id
- A specific comment ID
🔒 OAuth Required 😁 Emojis
Implementation
Future<CommentResponse> postCommentReply(String id,
{required String comment, required bool spoiler}) async {
final body = {"comment": comment, "spoiler": spoiler};
return await _manager._authenticatedPost<CommentResponse>(
"comments/$id/replies",
body: jsonEncode(body));
}