MessageOptionItem

data class MessageOptionItem(val optionText: String, val optionIcon: Drawable, val messageAction: MessageAction, val isWarningItem: Boolean = false)

UI representation of a Message option, when the user selects a message in the list.

Parameters

optionText

The text of the option item.

optionIcon

The icon of the option item.

messageAction

The MessageAction the option represents.

isWarningItem

If the option item is dangerous.

Constructors

Link copied to clipboard
constructor(optionText: String, optionIcon: Drawable, messageAction: MessageAction, isWarningItem: Boolean = false)

Properties

Link copied to clipboard
val isWarningItem: Boolean = false
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard