Class RoomJoinRulesContent

  • All Implemented Interfaces:
    EventContent

    public class RoomJoinRulesContent
    extends Object
    implements EventContent
    A room may be ``public`` meaning anyone can join the room without any prior action. Alternatively, it can be ``invite`` meaning that a user who wishes to join the room must first receive an invite to the room from someone already inside of the room. Currently, ``knock`` and ``private`` are reserved keywords which are not implemented.
    • Field Detail

      • joinRule

        private String joinRule
        The type of rules used for users wishing to join this room. One of: ["public", "knock", "invite", "private"]
    • Constructor Detail

      • RoomJoinRulesContent

        public RoomJoinRulesContent()
    • Method Detail

      • getJoinRule

        public String getJoinRule()
      • setJoinRule

        public void setJoinRule​(String joinRule)