fun toMessageList(default: CharSequence? = null, bus: BotBus, messageProvider: BotBus.() -> Any?): MessagesList
(source)
Transforms messageProvider result into a MessageList.
default
- the default message used if messageProvider returns no message