InAppTemplateDefaultButtonConfiguration

data class InAppTemplateDefaultButtonConfiguration(val backgroundColor: String? = null, val borderRadius: Int? = null, val buttonAction: InAppTemplateButtonAction? = null, val link: String? = null, val text: String? = null, val textColor: String? = null)

Constructors

Link copied to clipboard
constructor(backgroundColor: String? = null, borderRadius: Int? = null, buttonAction: InAppTemplateButtonAction? = null, link: String? = null, text: String? = null, textColor: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val backgroundColor: String? = null

The background color of a button, expressed as a hex color code (such as #000000 for black).

Link copied to clipboard
val borderRadius: Int? = null

The border radius of a button.

Link copied to clipboard

The action that occurs when a recipient chooses a button in an in-app message. You can specify one of the following:

Link copied to clipboard
val link: String? = null

The destination (such as a URL) for a button.

Link copied to clipboard
val text: String? = null

The text that appears on a button in an in-app message.

Link copied to clipboard
val textColor: String? = null

The color of the body text in a button, expressed as a hex color code (such as #000000 for black).