InAppButton

Represents an in-app button.

Represents an in-app button.

Syntax: class InAppButton : JsonSerializable

Constructors

PubIic ConstructorsDescription
InAppButtonconstructor()

Types

TypesDescription
Companionobject Companion : JsonDeserializable<InAppButton>
Companion object for the InAppButton class.

Properties

PropertiesDescription
actionUrlThe URL of the action of the button.
val actionUrl: String?
idThe ID of the button.
val id: String?
imageUrlThe URL of the image of the button.
val imageUrl: String?
payloadThe payload of the button.
val payload: JSONObject
titleThe title of the button.
val title: String?
typeThe type of the button.
var type: InAppInteractiveDataType
Return TypeMethod
voidfun toJson()

fun toJson

Syntax:open override fun toJson(): JSONObject