InboxButton

data class InboxButton

A call-to-action button on a MAM inbox message. A button without an id is not surfaced (taps are resolved by id); a button without text is kept with an empty text; a button without an action carries a NONE action.

Properties

Link copied to clipboard

What the button does when tapped.

Link copied to clipboard
@JvmField
val id: String

The button id, used to report a tap.

Link copied to clipboard
@JvmField
val index: Int

The button index sent by the server.

Link copied to clipboard
@JvmField
val text: String

The button label; empty if the server sent none.