CustomAction

data class CustomAction(val message: Message, val extraProperties: Map<String, Any> = emptyMap()) : MessageAction

User-customizable action, with any number of extra properties.

Parameters

extraProperties

Map of key-value pairs that let you store extra data for this action.

Constructors

Link copied to clipboard
constructor(message: Message, extraProperties: Map<String, Any> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard
open override val message: Message

The selected message.

Inherited functions

Link copied to clipboard