Module Values_0.ChatMessageSource

A chat message.

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

    The type of the content. Supported types are text/plain, text/markdown, application/json, and application/vnd.amazonaws.connect.message.interactive.response.

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

    The content of the chat message. For text/plain and text/markdown, the Length Constraints are Minimum of 1, Maximum of 1024. For application/json, the Length Constraints are Minimum of 1, Maximum of 12000. For application/vnd.amazonaws.connect.message.interactive.response, the Length Constraints are Minimum of 1, Maximum of 12288.

    *)
}
Sourceval context_ : string
Sourceval make : contentType:ChatContentType.t -> content:ChatContent.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ChatContentType.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