getGraphQLPayloadCommentReplies function
String
getGraphQLPayloadCommentReplies(
{
})
Implementation
String getGraphQLPayloadCommentReplies({required int commentId}) => r'''{
"operationName": "fetchCommentReplies",
"variables": {
"commentId": #commentId
},
"query": "query fetchCommentReplies($commentId: Int!) {\n commentReplies(commentId: $commentId) {\n id\n pinned\n pinnedBy {\n username\n __typename\n }\n post {\n ...DiscussPost\n __typename\n }\n __typename\n }\n}\n\nfragment DiscussPost on PostNode {\n id\n voteCount\n voteStatus\n content\n updationDate\n creationDate\n status\n isHidden\n coinRewards {\n ...CoinReward\n __typename\n }\n author {\n isDiscussAdmin\n isDiscussStaff\n username\n nameColor\n activeBadge {\n displayName\n icon\n __typename\n }\n profile {\n userAvatar\n reputation\n __typename\n }\n isActive\n __typename\n }\n authorIsModerator\n isOwnPost\n __typename\n}\n\nfragment CoinReward on ScoreNode {\n id\n score\n description\n date\n __typename\n}\n"
}'''
.replaceAll('#commentId', commentId.toString());