Class FormattedBody
- java.lang.Object
-
- io.github.ma1uta.matrix.event.content.RoomMessageContent
-
- io.github.ma1uta.matrix.event.message.FormattedBody
-
- All Implemented Interfaces:
EventContent
public abstract class FormattedBody extends RoomMessageContent
This message is the most basic message and is used to represent text.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFormattedBody.FormatFormat.
-
Field Summary
Fields Modifier and Type Field Description private StringformatThe format used in the ``formatted_body``.private StringformattedBodyThe formatted version of the ``body``.
-
Constructor Summary
Constructors Constructor Description FormattedBody()
-
Method Summary
Modifier and Type Method Description StringgetFormat()StringgetFormattedBody()voidsetFormat(String format)voidsetFormattedBody(String formattedBody)-
Methods inherited from class io.github.ma1uta.matrix.event.content.RoomMessageContent
getBody, getMsgtype, getRelatesTo, setBody, setRelatesTo
-
-