description:'The name of subreddit where the post is.',
displayOptions:{
show:{
resource:[
'postComment',
],
operation:[
'getAll',
],
},
},
},
{
displayName:'Post ID',
name:'postId',
type:'string',
required: true,
default:'',
description:'ID of the post to get all comments from. Found in the post URL:<br><code>/r/[subreddit_name]/comments/[post_id]/[post_title]</code>',
placeholder:'l0me7x',
displayOptions:{
show:{
resource:[
'postComment',
],
operation:[
'getAll',
],
},
},
},
// ----------------------------------
// postComment: delete
// ----------------------------------
{
displayName:'Comment ID',
name:'commentId',
type:'string',
required: true,
default:'',
description:'ID of the comment to remove. Found in the comment URL:<br><code>/r/[subreddit_name]/comments/[post_id]/[post_title]/[comment_id]</code>',
placeholder:'gla7fmt',
displayOptions:{
show:{
resource:[
'postComment',
],
operation:[
'remove',
],
},
},
},
// ----------------------------------
// postComment: reply
// ----------------------------------
{
displayName:'Comment ID',
name:'commentId',
type:'string',
required: true,
default:'',
description:'ID of the comment to reply to. To be found in the comment URL:<br><code>www.reddit.com/r/[subreddit_name]/comments/[post_id]/[post_title]/[comment_id]</code>',
placeholder:'gl9iroa',
displayOptions:{
show:{
resource:[
'postComment',
],
operation:[
'reply',
],
},
},
},
{
displayName:'Reply Text',
name:'replyText',
type:'string',
required: true,
default:'',
description:'Text of the reply. Markdown supported.',