Companion

object Companion

Functions

Link copied to clipboard
fun html(html: String): Message.Text

Make a Text object for the html.

fun html(html: String, plain: String?): Message.Text

Make a Text object for the html. This function is deprecated and will be removed in future release.

Link copied to clipboard
fun markdown(markdown: String): Message.Text

Make a Text object for the markdown.

fun markdown(    markdown: String,     html: String?,     plain: String?): Message.Text

Make a Text object for the markdown. This function is deprecated and will be removed in future release.

Link copied to clipboard
fun plain(plain: String): Message.Text

Make a Text object for the plain text.