Package com.mypurecloud.sdk.v2.model
Class WebMessagingButtonResponse
java.lang.Object
com.mypurecloud.sdk.v2.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).originatingMessageId(String originatingMessageId) Id of original structured message that this message responds to.The response payload associated with the clicked button.voidvoidsetOriginatingMessageId(String originatingMessageId) voidsetPayload(String payload) voidvoidThe response text from the button click.toString()Describes the button that resulted in the Button Response.
-
Constructor Details
-
WebMessagingButtonResponse
public WebMessagingButtonResponse() -
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
-
originatingMessageId
Id of original structured message that this message responds to. -
getOriginatingMessageId
-
setOriginatingMessageId
-
equals
-
hashCode
public int hashCode() -
toString
-