Interface TextPostOptions

Extra options for submitting a post.

interface TextPostOptions {
    captcha?: Captcha;
    nsfw?: boolean;
    sendReplies?: boolean;
    spoiler?: 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).

Generated using TypeDoc