Module Values.MessageSource

The message object that provides the message text and its type.

Sourcetype nonrec t = {
  1. contentType : ContentType.t;
    (*

    The content type of the message string.

    *)
  2. content : ContentString.t;
    (*

    The text of the message.

    *)
  3. groupNumber : GroupNumber.t option;
    (*

    Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response.

    *)
}
Sourceval context_ : string
Sourceval make : ?groupNumber:??? -> contentType:ContentType.t -> content:ContentString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of GroupNumber.t | `String of ContentString.t ]) 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