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.

Parameters

markdown

the text with the markdown markup.

html

this param is ignored. null can be passed.

plain

this param is ignored. null can be passed.


fun markdown(markdown: String): Message.Text

Make a Text object for the markdown.

Since

3.4.0.

Parameters

markdown

the text with the markdown markup.