Constructor
new Response(content)
Instantiates a Response object
Parameters:
| Name | Type | Description |
|---|---|---|
content |
Form | Menu |
Members
content :Form|Menu
contentType :string
The type of the content of the response, either "form" or "menu".
Methods
(static) fromTag(tag) → {Response}
Creates a Response from a FormTag or SectionTag
Parameters:
| Name | Type | Description |
|---|---|---|
tag |
FormTag | SectionTag |