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;
}
preset?: Preset
room_alias_name?: string
room_version?: string
topic?: string
visibility?: Visibility