replyInThread

abstract fun replyInThread(    rootThreadEventId: String,     replyInThreadText: CharSequence,     msgType: String = MessageType.MSGTYPE_TEXT,     autoMarkdown: Boolean = false,     formattedText: String? = null,     eventReplied: TimelineEvent? = null): Cancelable?

Creates a thread reply for an existing timeline event. The replyInThreadText can be a Spannable and contains special spans (MatrixItemSpan) that will be translated by the sdk into pills.

Parameters

rootThreadEventId

the root thread eventId

replyInThreadText

the reply text

msgType

the message type: MessageType.MSGTYPE_TEXT (default) or MessageType.MSGTYPE_EMOTE

autoMarkdown

If true, the SDK will generate a formatted HTML message from the body text if markdown syntax is present

formattedText

The formatted body using MessageType#FORMAT_MATRIX_HTML

eventReplied

the event referenced by the reply within a thread