Class WebMessagingButtonResponse
java.lang.Object
cloud.genesys.webmessaging.sdk.model.WebMessagingButtonResponse
- All Implemented Interfaces:
Serializable
Button response object representing the click of a structured message button, such as a quick reply.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDescribes the button that resulted in the Button Response. -
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) voidvoidThe response text from the button click.toString()Describes the button that resulted in the Button Response.
-
Constructor Details
-
WebMessagingButtonResponse
public WebMessagingButtonResponse()
-
-
Method Details
-
id
An ID assigned to the button response (Deprecated). -
getId
-
setId
-
type
Describes the button that resulted in the Button Response. -
getType
-
setType
-
text
The response text from the button click. -
getText
-
setText
-
payload
The response payload associated with the clicked button. -
getPayload
-
setPayload
-
equals
-
hashCode
public int hashCode() -
toString
-