Class Emote
- java.lang.Object
-
- io.github.ma1uta.matrix.event.content.RoomMessageContent
-
- io.github.ma1uta.matrix.event.message.FormattedBody
-
- io.github.ma1uta.matrix.event.message.Emote
-
- All Implemented Interfaces:
EventContent
public class Emote extends FormattedBody
This message is similar to m.text except that the sender is 'performing' the action contained in the body key, similar to /me in IRC. This message should be prefixed by the name of the sender. This message could also be represented in a different colour to distinguish it from regular m.text messages.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.github.ma1uta.matrix.event.message.FormattedBody
FormattedBody.Format
-
-
Constructor Summary
Constructors Constructor Description Emote()
-
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 similar to m.text except that the sender is 'performing' the action contained in the body key, similar to /me in IRC. This message should be prefixed by the name of the sender. This message could also be represented in a different colour to distinguish it from regular m.text messages.- 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.
-
-