Package | Description |
---|---|
com.sap.cloud.sdk.services.recastai.botresponses |
Modifier and Type | Method and Description |
---|---|
ButtonCollection<?> |
ButtonResponse.getContent()
This Function returns the button collection of this response.
|
Modifier and Type | Method and Description |
---|---|
static ButtonResponse |
ButtonResponse.createForFullButtons(ButtonCollection<Button> content)
Create a button response with complex buttons which allow visiting web urls or dial phone numbers, on top of the
regular postback feature.
|
static ButtonResponse |
ButtonResponse.createForQuickReplies(ButtonCollection<SlimButton> content)
Create a response with only POSTBACK buttons.
|
void |
ButtonResponse.setContent(ButtonCollection<?> content)
Sets the content of the button collection to the given one.
|
Constructor and Description |
---|
ButtonResponse(ButtonCollection<Button> content)
Assumes buttons as a type - full button style instead of quick replies.
|
ButtonResponse(String buttonResponseType,
ButtonCollection<?> content)
Allows to set type to either quickReplies or buttons.
|
Copyright © 2019 SAP SE. All rights reserved.