send Formatted Text Message
abstract fun sendFormattedTextMessage( text: String, formattedText: String, msgType: String = MessageType.MSGTYPE_TEXT, additionalContent: Content? = null): Cancelable
Content copied to clipboard
Method to send a text message with a formatted body.
Return
Parameters
text
the text message to send
formatted Text
The formatted body using MessageType#FORMAT_MATRIX_HTML
msg Type
the message type: MessageType.MSGTYPE_TEXT (default) or MessageType.MSGTYPE_EMOTE
additional Content
additional content to put in the event content