MessageCommand

@Serializable
data class MessageCommand(val header: String? = null, val text: String, val timeoutMs: Long? = null)

A command to display a message on a client.

Constructors

Link copied to clipboard
constructor(header: String? = null, text: String, timeoutMs: Long? = null)

Properties

Link copied to clipboard
@SerialName(value = "Header")
val header: String?

The message header.

Link copied to clipboard
@SerialName(value = "Text")
val text: String

The message text.

Link copied to clipboard
@SerialName(value = "TimeoutMs")
val timeoutMs: Long?

The timeout in milliseconds after which the message should be dismissed.