Comment
Comment(id, commentable_type, commentable_id, parent_comment, created, modified, commenter, text, language_code, is_edited, is_deleted)
type Comment {
id: UUID!
text: String!
created: DateTime!
modified: DateTime!
mentions: [User]!
links: [LinkPreview]!
creator: User!
parentCommentId: UUID
replies: [Comment!]
reactions: ReactionCounts!
reactors(
offset: Int! = 0
limit: Int! = 10
): UserPaged!
myReaction: ReactionCounts!
totalReplies: Int!
language: String
}
Fields
Comment.id ● UUID! non-null scalar
Comment.text ● String! non-null scalar
Comment.created ● DateTime! non-null scalar
Comment.modified ● DateTime! non-null scalar
Comment.mentions ● [User]! non-null object
Comment.links ● [LinkPreview]! non-null object
Comment.creator ● User! non-null object
Comment.parentCommentId ● UUID scalar
Comment.replies ● [Comment!] list object
Comment.reactions ● ReactionCounts! non-null object
Comment.reactors ● UserPaged! non-null object
Comment.reactors.offset ● Int! non-null scalar
Comment.reactors.limit ● Int! non-null scalar
Comment.myReaction ● ReactionCounts! non-null object
Comment.totalReplies ● Int! non-null scalar
Comment.language ● String scalar
Returned By
addComment mutation ● addReactionToComment mutation ● commentById query ● removeReactionFromComment mutation
Member Of
Comment object ● Commentable object ● CommentPaged object