Class Text
- java.lang.Object
-
- io.github.ma1uta.matrix.event.content.RoomMessageContent
-
- io.github.ma1uta.matrix.event.message.FormattedBody
-
- io.github.ma1uta.matrix.event.message.Text
-
- All Implemented Interfaces:
EventContent
public class Text extends FormattedBody
This message is the most basic message and is used to represent text.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.github.ma1uta.matrix.event.message.FormattedBody
FormattedBody.Format
-
-
Constructor Summary
Constructors Constructor Description Text()
-
Method Summary
Modifier and Type Method Description String
getMsgtype()
Message type.-
Methods inherited from class io.github.ma1uta.matrix.event.message.FormattedBody
getFormat, getFormattedBody, setFormat, setFormattedBody
-
Methods inherited from class io.github.ma1uta.matrix.event.content.RoomMessageContent
getBody, getRelatesTo, setBody, setRelatesTo
-
-
-
-
Field Detail
-
MSGTYPE
public static final String MSGTYPE
This message is the most basic message and is used to represent text.- See Also:
- Constant Field Values
-
-
Method Detail
-
getMsgtype
public String getMsgtype()
Description copied from class:RoomMessageContent
Message type.
Read-only.- Specified by:
getMsgtype
in classRoomMessageContent
- Returns:
- message type.
-
-