InAppTemplateInAppMessageContent

data class InAppTemplateInAppMessageContent(val backgroundColor: String? = null, val bodyConfig: InAppTemplateBodyConfig? = null, val headerConfig: InAppTemplateHeaderConfig? = null, val imageUrl: String? = null, val primaryBtn: InAppTemplateButtonConfig? = null, val secondaryBtn: InAppTemplateButtonConfig? = null)

Constructors

Link copied to clipboard
constructor(backgroundColor: String? = null, bodyConfig: InAppTemplateBodyConfig? = null, headerConfig: InAppTemplateHeaderConfig? = null, imageUrl: String? = null, primaryBtn: InAppTemplateButtonConfig? = null, secondaryBtn: InAppTemplateButtonConfig? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val backgroundColor: String? = null

The background color for an in-app message banner, expressed as a hex color code (such as #000000 for black).

Link copied to clipboard

An object that contains configuration information about the header or title text of the in-app message.

Link copied to clipboard

An object that contains configuration information about the header or title text of the in-app message.

Link copied to clipboard
val imageUrl: String? = null

The URL of the image that appears on an in-app message banner.

Link copied to clipboard

An object that contains configuration information about the primary button in an in-app message.

Link copied to clipboard

An object that contains configuration information about the secondary button in an in-app message.