igpapi — Instagram private API Simulator for Node.js (API reference) 4.14.0
    Preparing search index...

    Variable PostingPickedMediaSchemaConst

    PostingPickedMediaSchema: Union<
        readonly [
            Struct<
                {
                    byteLength: Number;
                    height: Number;
                    id: String;
                    kind: Literal<"photo">;
                    mimeType: Literals<readonly ["image/jpeg", "image/png", "image/webp"]>;
                    width: Number;
                },
            >,
            Struct<
                {
                    byteLength: Number;
                    durationMs: Number;
                    height: Number;
                    id: String;
                    kind: Literal<"video">;
                    mimeType: Literal<"video/mp4">;
                    width: Number;
                },
            >,
        ],
    > = ...

    A sum of the two shapes the picker offers, told apart by kind: a photo has no length and an image format, a video has a length and the MP4 format, so no other combination is representable (a trail or checkpoint that carries one does not decode).