masto
    Preparing search index...

    Interface MediaAttachment

    Represents a file or media MediaAttachment that can be added to a status.

    interface MediaAttachment {
        blurhash?: string | null;
        description?: string | null;
        id: string;
        meta?: MediaAttachmentMeta | null;
        previewRemoteUrl?: string | null;
        previewUrl: string;
        remoteUrl?: string | null;
        textUrl?: string | null;
        type: keyof MediaAttachmentTypeRegistry;
        url?: string | null;
    }
    Index

    Properties

    blurhash?: string | null

    A hash computed by the BlurHash algorithm, for generating colorful preview thumbnails when media has not been downloaded yet.

    description?: string | null

    Alternate text that describes what is in the media MediaAttachment, to be used for the visually impaired or when media MediaAttachments do not load.

    id: string

    The ID of the MediaAttachment in the database.

    meta?: MediaAttachmentMeta | null

    Metadata returned by Paperclip.

    previewRemoteUrl?: string | null

    Remote version of previewUrl

    previewUrl: string

    The location of a scaled-down preview of the MediaAttachment.

    remoteUrl?: string | null

    The location of the full-size original MediaAttachment on the remote website.

    textUrl?: string | null

    A shorter URL for the MediaAttachment.

    The type of the MediaAttachment.

    url?: string | null

    The location of the original full-size MediaAttachment.