reply To Message
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
event Replied
the event referenced by the reply
reply Text
the reply text
reply Formatted Text
the reply text, formatted
auto Markdown
If true, the SDK will generate a formatted HTML message from the body text if markdown syntax is present
show In Thread
If true, relation will be added to the reply in order to be visible from within threads
root Thread Event Id
If show in thread is true then we need the rootThreadEventId to generate the relation