Room chat history
UID of the room creator (this person can reclaim host)
The time the last game started
the ID of the room
The match config for the room
Name of the room
Safe Name of the room
The room config
UID of the host
The players in the room
Whether or not the room is public
The replay data for the last played game
The current state of the room (ingame | lobby)
The type of the room (public | private)
The maxiumum number of players that can play in the room (override by moving as host)
Send a public message to the room's chat.
The pinned
parameter is the same as using the /announce
command in TETR.IO
The pinned
parameter being true will result in an error if the client is not host.
Sets the room id (only works for supporter accounts)
Update the room's config, similar to using the /set command in tetr.io await client.room!.update({ index: 'name', value: 'test room'});
Rest
...options: { Sets the room's preset
The autostart state of the room