masto
    Preparing search index...

    Interface CreateStatusParamsWithMediaIds

    interface CreateStatusParamsWithMediaIds {
        allowedMentions?: readonly string[] | null;
        inReplyToId?: string | null;
        language?: string | null;
        mediaIds: readonly string[];
        poll?: undefined;
        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?: undefined
    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.