getCommentReplyPage method
Future<CommentPageResult>
getCommentReplyPage(
- int commentId, {
- required CancelToken cancelToken,
获取评论的回复
commentId
- 评论ID
Implementation
Future<CommentPageResult> getCommentReplyPage(
int commentId, {
required CancelToken cancelToken,
}) async {
return _httpClient
.get<String>(
'/v2/illust/comment/replies',
queryParameters: {
'comment_id': commentId,
},
cancelToken: cancelToken,
)
.then((response) => CommentPageResult.fromJson(jsonDecode(response.data!)));
}