getTextEditableContent

fun TimelineEvent.getTextEditableContent(formatted: Boolean): String

Get the latest message body, after a possible edition, stripping the reply prefix if necessary.

Return

If formatted is true, the HTML body of the message will be retrieved if available. Otherwise, the plain text/markdown version will be returned.

Parameters

formatted

Indicates whether the formatted HTML body of the message should be retrieved of the plain text one.