Module Values.SendMessageContextSource

Context object for additional message metadata

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

    The current page or view the user is on

    *)
  2. lastMessage : String_.t option;
    (*

    The ID of the last message in the conversation

    *)
  3. userActionResponse : String_.t option;
    (*

    Response to a UI prompt (not a text conversation message)

    *)
}
Sourceval make : ?currentPage:??? -> ?lastMessage:??? -> ?userActionResponse:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.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