Interface LinkPostOptions

Extra options for submitting a link post.

interface LinkPostOptions {
    captcha?: Captcha;
    nsfw?: boolean;
    sendReplies?: boolean;
    spoiler?: boolean;
    unique?: boolean;
}

Hierarchy (view full)

Properties

captcha?: Captcha

The captcha information. This is only necessary if the authenticated account requires a captcha to submit posts and comments.

nsfw?: boolean

Whether or not this post is NSFW (defaults to false).

sendReplies?: boolean

Whether or not to send inbox replies for the new post (defaults to true).

If you want to change this later you can use Post.enableInboxReplies and Post.disableInboxReplies.

spoiler?: boolean

Whether or not this post is a spoiler (defaults to false).

unique?: boolean

Whether or not to error if this link has been submitted before (defaults to false).

Generated using TypeDoc