Open jasona opened 5 years ago
{ input_id: 1234, input_type: "MULTIPLE_CHOICE", prompt_text: "What is the air speed velocity of an unladen swallow?", options: {"African?", "European?", "What?"} }
input_types: SHORT_ANSWER, LONG_ANSWER, MULTIPLE_CHOICE, SINGLE_CHOICE, PASSWORD
Actually, if we can also add:
button_text: "Next>"
That would give me the ability to change the button text on the modal based on context. If I know this is the first step of many in a series of interactive prompts, otherwise the button would just default to "Submit" or something.
As a MUD owner I want to be able to generate modal window on the web-client So that I can create a richer experience for my web-client players