Module Values.ImageFileSource

Contains an image file.

Sourcetype nonrec t = {
  1. data : ImageFileData.t;
    (*

    The image file contents, represented as a base64-encoded string. The file size must be less than 1 MB.

    *)
  2. type_ : ImageFileType.t;
    (*

    The file type of the image.

    *)
}
Sourceval context_ : string
Sourceval make : data:ImageFileData.t -> type_:ImageFileType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of ImageFileData.t | `Enum of string ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t