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 class
FormattedBody.Format
Format.
-
Field Summary
Fields Modifier and Type Field Description private String
format
The format used in the ``formatted_body``.private String
formattedBody
The formatted version of the ``body``.
-
Constructor Summary
Constructors Constructor Description FormattedBody()
-
Method Summary
Modifier and Type Method Description String
getFormat()
String
getFormattedBody()
void
setFormat(String format)
void
setFormattedBody(String formattedBody)
-
Methods inherited from class io.github.ma1uta.matrix.event.content.RoomMessageContent
getBody, getMsgtype, getRelatesTo, setBody, setRelatesTo
-
-