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.

Parameters

html

the text with the html markup.

plain

this param is ignored. null can be passed.


fun html(html: String): Message.Text

Make a Text object for the html.

Since

3.4.0.

Parameters

html

the text with the html markup.