Returns the id
of a room or nil
if the room is not stored.
This function does not generate a change.
room.id()
None
Returns id
of a room or nil
when the room is not stored.
This code uses
id()
to return a room id:
.chat = room();
.chat.id(); // Returns the room id
Example return value in JSON format
624