MessageButton

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

Constructors

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

Types

Link copied to clipboard
object Companion

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)

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? = null
Link copied to clipboard
Link copied to clipboard
var uri: Uri? = null