Module Values.ImageBlockSource

Image content for a message.

Sourcetype nonrec t = {
  1. format : ImageFormat.t;
    (*

    The format of the image.

    *)
  2. source : ImageSource.t;
    (*

    The source for the image.

    *)
  3. error : ErrorBlock.t option;
    (*

    Error information if the image block could not be processed or contains invalid data.

    *)
}
Sourceval context_ : string
Sourceval make : ?error:??? -> format:ImageFormat.t -> source:ImageSource.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Blob of ImageSourceBytesBlob.t | `String of String_.t | `Structure of (string * [> `String of S3Uri.t ]) list ]) list ]) 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