Module Cephalopod_models.App_Bsky_Embed_Images

lexicon "app.bsky.embed.images" A set of images embedded in a Bluesky record (eg, a post).

def main

type nonrec main = Types.app_bsky_embed_images_main = {
  1. images : Types.app_bsky_embed_images_image list;
    (*

    maximum length: 4

    *)
}

def image

type nonrec image = Types.app_bsky_embed_images_image = {
  1. image : Cephalopod_dasl.Blob.t;
    (*

    accept: (AcceptN "image/*") max size: 1000000

    *)
  2. alt : string;
    (*

    Alt text description of the image, for accessibility.

    *)
  3. aspectRatio : Types.app_bsky_embed_defs_aspectratio option;
}

def view

type nonrec view = Types.app_bsky_embed_images_view = {
  1. images : Types.app_bsky_embed_images_viewimage list;
    (*

    maximum length: 4

    *)
}

def viewImage

type nonrec viewimage = Types.app_bsky_embed_images_viewimage = {
  1. thumb : string;
    (*

    Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View. format: "Uri"

    *)
  2. fullsize : string;
    (*

    Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View. format: "Uri"

    *)
  3. alt : string;
    (*

    Alt text description of the image, for accessibility.

    *)
  4. aspectRatio : Types.app_bsky_embed_defs_aspectratio option;
}