The room ID
Optionaldata: MatrixRoomDataThe room ID
OptionalnameReadonlyroomThe room ID
OptionaltopicSet data about this room from a serialized data object.
The serialized data
Get the data value for the given key.
An arbitrary bridge-specific key.
Stored data for this key. May be undefined.
Get the room ID.
The room ID
Set an arbitrary bridge-specific data value for this room. This will be serailized under an 'extras' key.
The key to store the data value under.
The data value. This value should be serializable via
JSON.stringify(data).
Create a matrix room.