Module Values.UtteranceBotResponseSource

An object that contains a response to the utterance from the bot.

Sourcetype nonrec t = {
  1. content : String_.t option;
    (*

    The text of the response to the utterance from the bot.

    *)
  2. contentType : UtteranceContentType.t option;
    (*

    The type of the response. The following values are possible: PlainText – A plain text string. CustomPayload – A response string that you can customize to include data or metadata for your application. SSML – A string that includes Speech Synthesis Markup Language to customize the audio response. ImageResponseCard – An image with buttons that the customer can select. See ImageResponseCard for more information.

    *)
  3. imageResponseCard : ImageResponseCard.t option;
}
Sourceval make : ?content:??? -> ?contentType:??? -> ?imageResponseCard:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of String_.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of AttachmentTitle.t ]) 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