Optional
excludeOptional
isOptional isReported
that filters comments based on is_reported
.
true
returns only reported comments and false
returns comments
that have either not been reported or have had all reports dismissed.
Optional
repliedAdd repliedSince
to get comments which have replies since mentioned date.
It should be in ISO format eg: 2023-08-22T14:30:45.123Z
The comment will be included if the created_at
property of a reply comment matches the value provided at repliedSince
.
Optional
repliedAdd repliedUntil
to get comments which have replies until mentioned date.
It should be in ISO format eg: 2023-08-22T14:30:45.123Z
The comment will be excluded if the created_at
property of a reply comment matches the value provided at repliedUntil
.
Optional
sinceAdd since
to get comments since mentioned date until today.
It should be in ISO format eg: 2023-08-22T14:30:45.123Z
The comment will be included if the created_at
property of a comment matches the value provided at since
.
Optional
sortingsorting
returns sorted comments
CommentSort.OLDEST
sorts comments from oldest to newest
CommentSort.NEWEST
sorts comments from newest to oldest
CommentSort.OLDEST_REPLIES
sorts comments based on replies from oldest to newest
CommentSort.NEWEST_REPLIES
sorts comments based on replies from newest to oldest
Optional
toptrue
returns top level comments without replies
false
returns all the comments together including replies
Optional
untilAdd until
to get comments until mentioned date.
It should be in ISO format eg: 2023-08-22T14:30:45.123Z
The comment will be excluded if the created_at
property of a comment matches the value provided at until
.
Generated using TypeDoc
true
excludes all the comments which are deleted and have 0 replies, and update reply count.