Module Values.ButtonSource

Represents an option to be shown on the client platform (Facebook, Slack, etc.)

Sourcetype nonrec t = {
  1. text : ButtonTextStringWithLength.t option;
    (*

    Text that is visible to the user on the button.

    *)
  2. value : ButtonValueStringWithLength.t option;
    (*

    The value sent to Amazon Lex when a user chooses the button. For example, consider button text "NYC." When the user chooses the button, the value sent can be "New York City."

    *)
}
Sourceval make : ?text:??? -> ?value:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ButtonTextStringWithLength.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