tock / ai.tock.bot.engine.action / ActionMetadata

ActionMetadata

data class ActionMetadata (source)

Constructors

<init>

ActionMetadata(lastAnswer: Boolean = false, priority: ActionPriority = ActionPriority.normal, notificationType: ActionNotificationType? = null, visibility: ActionVisibility = ActionVisibility.UNKNOWN, replyMessage: ActionReply = ActionReply.UNKNOWN, quoteMessage: ActionQuote = ActionQuote.UNKNOWN, orchestrationLock: Boolean = false, orchestratedBy: String? = null)

Properties

lastAnswer

Is it the last answer of the bot.

var lastAnswer: Boolean

notificationType

tag deals with type of message notification.

var notificationType: ActionNotificationType?

orchestratedBy

Message delegated by another bot.

val orchestratedBy: String?

orchestrationLock

The message triggers an orchestration lock.

var orchestrationLock: Boolean

priority

Significance deals with the notification level.

var priority: ActionPriority

quoteMessage

Message which contains a quote.

var quoteMessage: ActionQuote

replyMessage

Message which is a reply to another.

var replyMessage: ActionReply

visibility

visibility of the message.

var visibility: ActionVisibility