PluginMessage

data class PluginMessage(val plugin: Plugin, val text: String)

Represents a plugin message. Plugins are expected to extend this message to support their own model. By extension, this means it is required for plugin's model to be known beforehand.

Constructors

Link copied to clipboard
constructor(plugin: Plugin, text: String)

Properties

Link copied to clipboard

The message's plugin type.

Link copied to clipboard

The message's content. Based on message's type it represents different type of content.