Module Values.ConversationMessageSource

A message in a conversation, used as input for generating an Amazon Q App definition.

Sourcetype nonrec t = {
  1. body : ConversationMessageBodyString.t;
    (*

    The text content of the conversation message.

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

    The type of the conversation message.

    *)
}
Sourceval context_ : string
Sourceval make : body:ConversationMessageBodyString.t -> type_:Sender.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ConversationMessageBodyString.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