MessageButton

MessageButton is a model for a styleable button containing text and a click action.

Constructors

Link copied to clipboard
constructor()
constructor(jsonObject: JSONObject, darkThemeObject: JSONObject? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var id: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var text: String?
Link copied to clipboard
Link copied to clipboard
var uri: Uri?

Functions

Link copied to clipboard
open override fun enableDarkTheme()

Instructs the IInAppMessage to apply any dark theme settings and override any existing values present on the IInAppMessage.

Link copied to clipboard
open override fun forJsonPut(): JSONObject?
Link copied to clipboard
fun setClickBehavior(clickAction: ClickAction, uri: Uri? = null)