Class ContentButtonResponse
java.lang.Object
cloud.genesys.webmessaging.sdk.model.ContentButtonResponse
- All Implemented Interfaces:
Serializable
Button response content. Button response object representing the click of a structured message button, such as a quick reply.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getText()getType()inthashCode()An ID assigned to the button response (Deprecated).The response payload associated with the clicked button.voidvoidsetPayload(String payload) voidvoidsetType(ButtonResponseType type) The response text from the button click.toString()type(ButtonResponseType type) Describes the button that resulted in the Button Response.
-
Constructor Details
-
ContentButtonResponse
public ContentButtonResponse()
-
-
Method Details
-
id
An ID assigned to the button response (Deprecated). -
getId
-
setId
-
payload
The response payload associated with the clicked button. -
getPayload
-
setPayload
-
text
The response text from the button click. -
getText
-
setText
-
type
Describes the button that resulted in the Button Response. -
getType
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-