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).
Whether or not this you can guild this item.
Whether or not you can moderate this item.
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 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. |
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.
Whether or not you have saved this item.
The score that this item has received.
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]
.
Generated using TypeDoc
The base for all content that you can vote on.