Module Values.AttachmentInputSource

This is either a file directly uploaded into a web experience chat or a reference to an existing attachment that is part of a web experience chat.

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

    The contents of the attachment.

    *)
  2. name : AttachmentName.t option;
    (*

    The filename of the attachment.

    *)
  3. copyFrom : CopyFromSource.t option;
    (*

    A reference to an existing attachment.

    *)
}
Sourceval make : ?data:??? -> ?name:??? -> ?copyFrom:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of Blob.t | `String of AttachmentName.t | `Structure of (string * [> `Structure of (string * [> `String of ConversationId.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