Button
data class Button(val id: String, val index: Int = 0, val text: String, val actionType: InAppMessage.Button.ActionType = ActionType.close, val action: String? = null, val backgroundColor: String? = null, val cornerRadius: InAppMessage.Size = Size.s, val font: InAppMessage.Font? = null, val border: InAppMessage.Border? = null, val margin: InAppMessage.Margin? = null, val additionalMargin: InAppMessage.Margin? = null, val textAlignment: InAppMessage.TextAlignment = TextAlignment.center, val shadow: InAppMessage.Shadow? = null) : Parcelable
Constructors
Link copied to clipboard
constructor(id: String, index: Int = 0, text: String, actionType: InAppMessage.Button.ActionType = ActionType.close, action: String? = null, backgroundColor: String? = null, cornerRadius: InAppMessage.Size = Size.s, font: InAppMessage.Font? = null, border: InAppMessage.Border? = null, margin: InAppMessage.Margin? = null, additionalMargin: InAppMessage.Margin? = null, textAlignment: InAppMessage.TextAlignment = TextAlignment.center, shadow: InAppMessage.Shadow? = null)