Class RoomCanonicalAliasContent
- java.lang.Object
-
- io.github.ma1uta.matrix.event.content.RoomCanonicalAliasContent
-
- All Implemented Interfaces:
EventContent
public class RoomCanonicalAliasContent extends Object implements EventContent
This event is used to inform the room about which alias should be considered the canonical one. This could be for display purposes or as suggestion to users which alias to use to advertise the room.A room with an m.room.canonical_alias event with an absent, null, or empty alias field should be treated the same as a room with no m.room.canonical_alias event.