public class ConfirmLayoutTemplate extends LayoutTemplate
| Constructor and Description |
|---|
ConfirmLayoutTemplate(java.lang.String text,
java.util.List<ClickActionForTemplateMessage> actions)
constructor to create a new ConfirmLayoutTemplate.
|
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
toJsonObject() |
public ConfirmLayoutTemplate(java.lang.String text,
java.util.List<ClickActionForTemplateMessage> actions)
text - confirmation descriptionactions - what actions to take for the two buttonspublic org.json.JSONObject toJsonObject()
throws org.json.JSONException
toJsonObject in interface JsonabletoJsonObject in class LayoutTemplateorg.json.JSONException