import { StateEvent } from "./RoomEvent" ; category see JoinRulesEventContent export type JoinRule = "public" | "knock" | "invite" | "private" ; category see JoinRulesEvent export interface JoinRulesEventContent { /**
     * The join rule for the room.
     */ join_rule : JoinRule ; } category export class JoinRulesEvent extends StateEvent < JoinRulesEventContent > { constructor ( event ) { super ( event ) ; } /**
     * The join rule for the room.
     */ public get rule ( ) : JoinRule { return this . content . join_rule ; } }