send Text Message
abstract fun sendTextMessage( text: CharSequence, msgType: String = MessageType.MSGTYPE_TEXT, autoMarkdown: Boolean = false, additionalContent: Content? = null): Cancelable
Content copied to clipboard
Method to send a text message asynchronously. The text to send can be a Spannable and contains special spans (MatrixItemSpan) that will be translated by the sdk into pills.
Return
Parameters
text
the text message to send
msg Type
the message type: MessageType.MSGTYPE_TEXT (default) or MessageType.MSGTYPE_EMOTE
auto Markdown
If true, the SDK will generate a formatted HTML message from the body text if markdown syntax is present
additional Content
additional content to put in the event content