UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

30 lines (26 loc) 837 B
/** * Reddit Node - Version 1 * Discriminator: resource=postComment, operation=reply */ interface Credentials { redditOAuth2Api: CredentialReference; } /** Write a reply to a comment in a post */ export type RedditV1PostCommentReplyParams = { resource: 'postComment'; operation: 'reply'; /** * ID of the comment to reply to. To be found in the comment URL: &lt;code&gt;www.reddit.com/r/[subreddit_name]/comments/[post_id]/[post_title]/[comment_id]&lt;/code&gt; */ commentId?: string | Expression<string> | PlaceholderValue; /** * Text of the reply. Markdown supported. */ replyText?: string | Expression<string> | PlaceholderValue; }; export type RedditV1PostCommentReplyNode = { type: 'n8n-nodes-base.reddit'; version: 1; credentials?: Credentials; config: NodeConfig<RedditV1PostCommentReplyParams>; };