MessageOptionItemState

class MessageOptionItemState(@StringRes val title: Int, val titleColor: Color, val iconPainter: Painter, val iconColor: Color, val action: MessageAction)

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

Parameters

title

The title to represent the action.

titleColor

The color of the title text.

iconPainter

The icon to represent the action.

iconColor

The color of the icon.

action

The MessageAction the option represents.

Constructors

Link copied to clipboard
constructor(@StringRes title: Int, titleColor: Color, iconPainter: Painter, iconColor: Color, action: MessageAction)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val title: Int
Link copied to clipboard