MessageOptionItemState

constructor(@StringRes title: Int, iconPainter: Painter, destructive: Boolean, action: MessageAction)

Parameters

title

The title to represent the action.

iconPainter

The icon to represent the action.

destructive

Whether the action is destructive. This is used to style the option accordingly.

action

The MessageAction the option represents.