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 |
|---|---|
JSONObject |
toJsonObject() |
public ConfirmLayoutTemplate(@NonNull
java.lang.String text,
@NonNull
java.util.List<ClickActionForTemplateMessage> actions)
text - confirmation descriptionactions - what actions to take for the two buttons@NonNull
public JSONObject toJsonObject()
throws JSONException
toJsonObject in interface JsonabletoJsonObject in class LayoutTemplateJSONException