Package io.github.ma1uta.matrix.event
Class RoomAvatar
- java.lang.Object
-
- io.github.ma1uta.matrix.event.Event<C>
-
- io.github.ma1uta.matrix.event.RoomEvent<C>
-
- io.github.ma1uta.matrix.event.StateEvent<RoomAvatarContent>
-
- io.github.ma1uta.matrix.event.RoomAvatar
-
public class RoomAvatar extends StateEvent<RoomAvatarContent>
A picture that is associated with the room. This can be displayed alongside the room information.
-
-
Constructor Summary
Constructors Constructor Description RoomAvatar()
-
Method Summary
-
Methods inherited from class io.github.ma1uta.matrix.event.StateEvent
getPrevContent, getStateKey, setPrevContent, setStateKey
-
Methods inherited from class io.github.ma1uta.matrix.event.RoomEvent
getEventId, getOriginServerTs, getRoomId, getSender, getUnsigned, setEventId, setOriginServerTs, setRoomId, setSender, setUnsigned
-
Methods inherited from class io.github.ma1uta.matrix.event.Event
getContent, setContent
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
A picture that is associated with the room. This can be displayed alongside the room information.- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
Description copied from class:Event
Required. The type of event. This SHOULD be namespaced similar to Java package naming conventions e.g. 'com.example.subdomain.event.type'.- Specified by:
getType
in classEvent<RoomAvatarContent>
- Returns:
- The type of the event.
-
-