editTextMessage
abstract fun editTextMessage( targetEvent: TimelineEvent, msgType: String, newBodyText: CharSequence, newFormattedBodyText: CharSequence? = null, newBodyAutoMarkdown: Boolean, compatibilityBodyText: String = "* "): Cancelable
Content copied to clipboard
Edit a text message body. Limited to "m.text" contentType.
Parameters
targetEvent
The event to edit
msgType
the message type
newBodyText
The edited body in plain text
newFormattedBodyText
The edited body with format
newBodyAutoMarkdown
true to parse markdown on the new body
compatibilityBodyText
The text that will appear on clients that don't support yet edition