add

abstract fun add(element: Message.Element): T(source)

Add an element to the MessagesBuilder container.

Return

the updated MessagesAddable instance

Parameters

element

the element to be added


open fun add(text: String): T(source)

Adds the given text as Text to the MessagesBuilder container.

Return

the updated MessagesAddable instance

Parameters

text

the text to add to the container