CustomMessage

data class CustomMessage(val body: String, val button: AlertMessage.CustomMessage.Button? = null) : AlertMessage

Custom message representing a message that can be customized in its own display body and clickable action

Constructors

Link copied to clipboard
constructor(body: String, button: AlertMessage.CustomMessage.Button? = null)

Types

Link copied to clipboard
data class Button(val text: String? = null, val icon: Int? = null, val action: () -> Unit?)

Class representing the custom message action

Properties

Link copied to clipboard

String message body

Link copied to clipboard
Link copied to clipboard
val id: String

String user message identifier