Interface ICreateRoomOpts

interface ICreateRoomOpts {
    creation_content?: object;
    initial_state?: ICreateRoomStateEvent[];
    invite?: string[];
    invite_3pid?: IInvite3PID[];
    is_direct?: boolean;
    name?: string;
    power_level_content_override?: {
        ban?: number;
        events?: Record<string, number>;
        events_default?: number;
        invite?: number;
        kick?: number;
        notifications?: Record<string, number>;
        redact?: number;
        state_default?: number;
        users?: Record<string, number>;
        users_default?: number;
    };
    preset?: Preset;
    room_alias_name?: string;
    room_version?: string;
    topic?: string;
    visibility?: Visibility;
}

Properties

creation_content?: object
initial_state?: ICreateRoomStateEvent[]
invite?: string[]
invite_3pid?: IInvite3PID[]
is_direct?: boolean
name?: string
power_level_content_override?: {
    ban?: number;
    events?: Record<string, number>;
    events_default?: number;
    invite?: number;
    kick?: number;
    notifications?: Record<string, number>;
    redact?: number;
    state_default?: number;
    users?: Record<string, number>;
    users_default?: number;
}

Type declaration

  • Optional ban?: number
  • Optional events?: Record<string, number>
  • Optional events_default?: number
  • Optional invite?: number
  • Optional kick?: number
  • Optional notifications?: Record<string, number>
  • Optional redact?: number
  • Optional state_default?: number
  • Optional users?: Record<string, number>
  • Optional users_default?: number
preset?: Preset
room_alias_name?: string
room_version?: string
topic?: string
visibility?: Visibility

Generated using TypeDoc