replyToMessage
abstract fun replyToMessage( eventReplied: TimelineEvent, replyText: CharSequence, replyFormattedText: CharSequence? = null, autoMarkdown: Boolean = false, showInThread: Boolean = false, rootThreadEventId: String? = null): Cancelable?
Content copied to clipboard
Reply to an event in the timeline (must be in same room) https://matrix.org/docs/spec/client_server/r0.4.0.html#id350 The replyText can be a Spannable and contains special spans (MatrixItemSpan) that will be translated by the sdk into pills.
Parameters
eventReplied
the event referenced by the reply
replyText
the reply text
replyFormattedText
the reply text, formatted
autoMarkdown
If true, the SDK will generate a formatted HTML message from the body text if markdown syntax is present
showInThread
If true, relation will be added to the reply in order to be visible from within threads
rootThreadEventId
If show in thread is true then we need the rootThreadEventId to generate the relation