ICQuickReplyData (Discontinued)

🚧

Note

Please note that we have announced end of sale for Cordova SDK. It is no longer offered as a standard Webex Connect capability.

ICQuickReplyData

This class exposes the data related to quick reply data.

getButtons

This method is used to get the quick reply buttons that have been attached to the message.

Syntax: ICButton [] getButtons ()

Return Value: Returns the Array of ICButton of the message.

setButtons

This method is used to set the quick replies to the quick reply data.

Syntax: void setButtons (ICButton [] buttons)

Parameter:

ParameterTypeDescription
buttonsICButton []The quick replies that have been attached to the message

getReference

This method is used to get the reference of the quick reply data.

Syntax: String getReference ()

Return Value: Returns the reference of the quick reply data.

setReference

This method sets the reference of the quick reply data.

Syntax: void setReference (String reference)

Parameter:

ParameterTypeDescription
referenceStringThe reference of the quick reply data.

toJSON

This method returns the JSONObject containing the quick reply data.

Syntax: JSONObject toJSON ()

Return Value: Returns JSONObject representation of the quick reply data.

fromJSON

Instantiates a new ICQuickReplyData instance from the supplied JSONObject.

Syntax: ICQuickReplyData fromJSON (JSONObject jsonObject)

Parameter:

ParameterTypeDescription
jsonObjectJSONObjectA valid JSONObject instance containing quick reply data.

Return Value: Returns A new ICQuickReplyData or null if jsonObject is null.