editReply

abstract fun editReply(    replyToEdit: TimelineEvent,     originalTimelineEvent: TimelineEvent,     newBodyText: CharSequence,     newFormattedBodyText: String? = null,     compatibilityBodyText: String = "* "): Cancelable

Edit a reply. This is a special case because replies contains fallback text as a prefix. This method will take the new body (stripped from fallbacks) and re-add them before sending.

Parameters

replyToEdit

The event to edit

originalTimelineEvent

the message that this reply (being edited) is relating to

newBodyText

The plain text edited body (stripped from in reply to content)

newFormattedBodyText

The formatted edited body (stripped from in reply to content)

compatibilityBodyText

The text that will appear on clients that don't support yet edition