Class

CreateEvent

CreateEvent()

Represents an m.room.create state event
Constructor

# new CreateEvent()

View Source models/events/CreateEvent.ts, line 7

Classes

CreateEvent

Members

# creator

The user ID who created the room.

View Source models/events/CreateEvent.ts, line 14

# federated

Whether or not the room is federated. Default true (federated).

View Source models/events/CreateEvent.ts, line 26

# version

The version of the room. Defaults to "1".

View Source models/events/CreateEvent.ts, line 20

Methods

# creator() → {string}

The user ID who created the room.

View Source models/events/CreateEvent.ts, line 90

string

# federated() → {boolean}

Whether or not the room is federated. Default true (federated).

View Source models/events/CreateEvent.ts, line 104

boolean

# version() → {string}

The version of the room. Defaults to "1".

View Source models/events/CreateEvent.ts, line 97

string