InAppInteractiveDataType
Enum class represents the type of interactive data.
Enum class represents the type of interactive data.
Entries | Values | Description |
---|---|---|
FORM_RESPONSE | formResponse | Form response for message type “form” |
WEB_URL | webUrl | Generic template element’s button click action, which opens WebURL. |
TEMPLATE_POSTBACK | templatePostback | Generic Template element’s button click action, which sends click event. |
QUICK_REPLY_POSTBACK | quickReplyPostback | Quick Reply Button click action. |
Companion Functions
fromValue
Converts a string to the corresponding InAppInteractiveDataType.
Syntax: fun fromValue(value: String): InAppInteractiveDataType?
Return Value The InAppInteractiveDataType corresponding to the given string value. null if no matching interactive data type is found.
Parameters
Parameters | Type | Description |
---|---|---|
value | String | The string represents the interactive data type. |
Updated about 1 month ago