tock / ai.tock.bot.engine.message

Package ai.tock.bot.engine.message

The generic format for actions, used by monitoring and automated integration tests

Types

ActionWrappedMessage

data class ActionWrappedMessage : Message

Attachment

A simple attachment file.

data class Attachment : Message

Choice

A user choice.

data class Choice : Message

GenericElement

A sub element of GenericMessage.

data class GenericElement

GenericMessage

An aggregation of Messages used in Sentence. This is usually a "generic" view of ConnectorMessage.

data class GenericMessage

Location

User location data.

data class Location : Message

Message

A message.

interface Message

MessagesList

A list of messages.

data class MessagesList

Sentence

Could be a simple text, or a complex message using secondary constructor.

data class Sentence : Message

Suggestion

data class Suggestion

TextWithSuggestions

data class TextWithSuggestions