Action

data class Action(val name: String, val handler: () -> Unit)

An action to be performed when the message is clicked.

Parameters

name

The action button's text.

handler

The handler to be called when the action is clicked.

Constructors

Link copied to clipboard
constructor(name: String, handler: () -> Unit)

Properties

Link copied to clipboard
val handler: () -> Unit
Link copied to clipboard