childComments
is an array of ThreadCommentResponse
representing the child comments of the comment.
comment
is a string representing the content of the comment.
createdAt
is a number representing the timestamp when the comment was created.
id
is a number representing the id of the thread comment.
isLiked
is a boolean indicating whether the comment is liked by the user.
isLocked
is a boolean indicating whether the comment is locked.
likeCount
is a number representing the number of likes the comment has received.
likes
is an array of BasicUser
representing the users who liked the comment.
siteUrl
is a string representing the URL of the comment on the site.
thread
is an instance of ThreadResponse
representing the thread where the comment was made.
threadId
is a number representing the id of the thread where the comment was made.
updatedAt
is a number representing the timestamp when the comment was last updated.
user
is an instance of BasicUser
representing the user who made the comment.
userId
is a number representing the id of the user who made the comment.
ThreadCommentResponse
is an interface representing the response from a thread comment query. It includes the comment's id, userId, threadId, comment, likeCount, isLiked status, siteUrl, createdAt, updatedAt, thread of typeThreadResponse
, user of typeBasicUser
, likes of typeBasicUser[]
, childComments of typeThreadCommentResponse[]
, and isLocked status.