Optional
approvedWhether or not this item was approved.
The unix timestamp of when this was approved.
This can be undefined if the item either hasn't been approved or you don't have permission to know (i.e. you're not a mod on that subreddit).
The username of the mod who approved this post.
This can be undefined if the item either hasn't been approved or you don't have permission to know (i.e. you're not a mod on that subreddit).
Whether or not this post is archived.
The username of the user who created this item.
Whether or not the author has a Patreon flair.
Whether or not the author has Reddit Premium.
Optional
banThe note of why this item was banned (removed).
The unix timestamp of when this item was banned (removed).
This can be undefined if the item either hasn't been banned or you don't have permission to know (i.e. you're not a mod on that subreddit).
The username of the mod who banned (removed) this item.
This can be undefined if the item either hasn't been banned or you don't have permission to know (i.e. you're not a mod on that subreddit).
The plaintext body of the comment.
The html rendered body of the comment.
Whether or not this you can guild this item.
Whether or not you can moderate this item.
Whether or not this comment is collapsed.
The unix timestamp when this object was created.
Optional
dismissedThe old reports on this item.
Whether or not this item was distinguished, and by whom.
The unix timestamp when this item was edited, or false
if it wasn't.
How many times this item has been gilded.
The gildings that this item has received.
The ID of this object.
Whether or not future reports of this item will be ignored.
Whether or not the author of this comment is also the op of the post.
Whether and how you voted on this item.
Value | Meaning |
---|---|
true |
You upvoted this item. |
false |
You downvoted this item. |
undefined |
You have not voted on this item. |
Whether or not this item is locked.
A note about why this item was removed that only the moderators can see, or undefined if no note was added or this item hasn't been removed.
The username of the mod who added a removal reason to this item, or undefined if no reason was given or this item hasn't been removed.
The reason this item was removed, or undefined if no reason was given or this item hasn't been removed.
The current reports on this item that were made by mods.
Each entry is of the form [report, username]
.
Optional
modThe old reports on this item that were made by mods.
Each entry is of the form [report, username]
.
The number of reports this item has.
This seems to be calculated as follows:
max(
modReports.length - modReportsDismissed.length,
userReports.length - userReportsDismissed.length
)
This means that it will be negative if there were reports that have been dismissed.
The permalink to this item, relative to reddit.com.
Whether or not this item has been removed.
The replies to this comment.
Whether or not you have saved this item.
The score that this item has received.
Whether or not this comment has its score hidden.
Note: if this is true, score will always be 1
.
Whether or not replies to this item will notify the author.
Optional
spamWhether or not this item has been marked as spam.
Whether or not this item has been sticked.
The name of the subreddit this item was posted in.
The type of the subreddit this item was posted in.
The current reports on this item that were made by users.
Each entry is of the form [report, count]
.
Optional
userThe old reports on this item that were made by users.
Each entry is of the form [report, count]
.
Distinguish this comment.
How this comment should be distinguished.
A promise that resolves when this comment has been distinguished.
Remove this item, optionally marking it as spam.
Whether or not to mark this item as spam. Defaults to false.
A promise that resolves when this item has been removed.
This requires the authenticated user to be a moderator of the
subreddit with the posts
permission.
Report this item to the mods.
The report will be anonymous if you are not a mod of the subreddit. If you are a mod the report will be tied to your username.
Optional
reason: stringThe reason you are reporting this item.
A promise that resolves when this item has been reported.
A single comment.