masto
    Preparing search index...

    Interface CreateStatusParamsWithMediaIds

    interface CreateStatusParamsWithMediaIds {
        allowedMentions?: readonly string[] | null;
        inReplyToId?: string | null;
        language?: string | null;
        mediaIds: readonly string[];
        poll?: null;
        quoteApprovalPolicy?: (keyof QuoteApprovalPolicyRegistry) | null;
        quotedStatusId?: string | null;
        sensitive?: boolean | null;
        spoilerText?: string | null;
        status?: string | null;
        visibility?: (keyof StatusVisibilityRegistry) | null;
    }

    Hierarchy (View Summary)

    Index

    Properties

    allowedMentions?: readonly string[] | null
    inReplyToId?: string | null

    ID of the status being replied to, if status is a reply

    language?: string | null

    ISO 639 language code for this status.

    mediaIds: readonly string[]

    Array of Attachment ids to be attached as media. If provided, status becomes optional, and poll cannot be used.

    poll?: null
    quoteApprovalPolicy?: (keyof QuoteApprovalPolicyRegistry) | null

    Sets who is allowed to quote the status. When omitted, the user’s default setting will be used instead. Ignored if visibility is private or direct, in which case the policy will always be set to nobody. public = Anyone is allowed to quote this status and will have their quote automatically accepted, unless they are blocked. followers = Only followers and the author are allowed to quote this status, and will have their quote automatically accepted. nobody = Only the author is allowed to quote the status.

    quotedStatusId?: string | null

    ID of the status being quoted, if any. Will raise an error if the status does not exist, the author does not have access to it, or quoting is denied by Mastodon’s understanding of the attached quote policy. All posts except Private Mentions (direct visibility) are quotable by their author. Quoting a private post will restrict the quoting post’s visibility to private or direct (if the given visibility is public or unlisted, private will be used instead). An error will be returned when making a quote post with direct visibility and the quote author is not explicitly mentioned. If the status text doesn’t include a link to the quoted post, Mastodon will prepend a

    RE:

    paragraph for backward compatibility (such a paragraph will be hidden by Mastodon’s web interface).

    sensitive?: boolean | null

    Mark status and attached media as sensitive?

    spoilerText?: string | null

    Text to be shown as a warning or subject before the actual content. Statuses are generally collapsed behind this field.

    status?: string | null

    Text content of the status. If media_ids is provided, this becomes optional. Attaching a poll is optional while status is provided.

    visibility?: (keyof StatusVisibilityRegistry) | null

    Visibility of the posted status. Enumerable oneOf public, unlisted, private, direct.