InAppInteractiveDataType

Enum class represents the type of interactive data.

Enum class represents the type of interactive data.

EntriesValuesDescription
FORM_RESPONSEformResponseForm response for message type “form”
WEB_URLwebUrlGeneric template element’s button click action, which opens WebURL.
TEMPLATE_POSTBACKtemplatePostbackGeneric Template element’s button click action, which sends click event.
QUICK_REPLY_POSTBACKquickReplyPostbackQuick 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

ParametersTypeDescription
valueStringThe string represents the interactive data type.