tock / ai.tock.bot.engine.message / MessagesList

# MessagesList

`data class MessagesList` (source)

A list of messages.

### Constructors

#### <init> | `MessagesList(vararg messages: Message)` A list of messages. `MessagesList(messages: List<Message>)`

### Properties

#### messages | `val messages: List<Message>`

### Companion Object Functions

#### toMessageList | Transforms messageProvider result into a MessageList. `fun toMessageList(default: CharSequence? = null, bus: BotBus, messageProvider: BotBus.() -> Any?): MessagesList`