interface RedditNodeParameters {
additionalFields?: {
sort?:
| "top"
| "new"
| "relevance"
| "comments"
| "hot";
};
commentId?: string;
commentText?: string;
content?: "about"
| "rules";
details?:
| "comments"
| "identity"
| "blockedUsers"
| "friends"
| "karma"
| "prefs"
| "saved"
| "trophies"
| "about"
| "gilded"
| "overview"
| "submitted";
filters?: | { keyword?: string; trending?: boolean }
| { category?: "top" | "new" | "hot" | "rising" };
keyword?: string;
kind?: "image" | "link" | "self";
limit?: number;
location?: "subreddit" | "allReddit";
operation?:
| "create"
| "get"
| "getAll"
| "delete"
| "search"
| "reply";
postId?: string;
replyText?: string;
resource?: | "user"
| "post"
| "profile"
| "postComment"
| "subreddit";
resubmit?: boolean;
returnAll?: boolean;
subreddit?: string;
text?: string;
title?: string;
url?: string;
username?: string;
}
Properties§
Source§readonly comment Id?: string
readonly comment Id?: string
ID of the comment to remove. Found in the comment URL:/r/[subreddit_name]/comments/[post_id]/[post_title]/[comment_id]
Source§readonly details?:
| "comments"
| "identity"
| "blockedUsers"
| "friends"
| "karma"
| "prefs"
| "saved"
| "trophies"
| "about"
| "gilded"
| "overview"
| "submitted"
readonly details?:
| "comments"
| "identity"
| "blockedUsers"
| "friends"
| "karma"
| "prefs"
| "saved"
| "trophies"
| "about"
| "gilded"
| "overview"
| "submitted"
Details of my account to retrieve Default: "identity"
Source§readonly filters?:
| { keyword?: string; trending?: boolean }
| { category?: "top" | "new" | "hot" | "rising" }
readonly filters?:
| { keyword?: string; trending?: boolean }
| { category?: "top" | "new" | "hot" | "rising" }
Default: {}
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 100 Type options: {"minValue":1,"maxValue":100}
Source§readonly location?: "subreddit" | "allReddit"
readonly location?: "subreddit" | "allReddit"
Location where to search for posts Default: "subreddit"
Source§readonly operation?: "create" | "get" | "getAll" | "delete" | "search" | "reply"
readonly operation?: "create" | "get" | "getAll" | "delete" | "search" | "reply"
Default: "create"
Source§readonly post Id?: string
readonly post Id?: string
ID of the post to write the comment to. Found in the post URL: /r/[subreddit_name]/comments/[post_id]/[post_title]
Default: {}