room.listrooms() which all properties does this me...
# ask-ai
m
room.listrooms() which all properties does this method provide about room , how can we know room state is that deleted or still active ?
✅ 1
t
Thanks for reaching out, vanaja. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — you're asking what properties
room.listRooms()
returns and how to tell if a room is deleted or still active. •
room.listRooms()
returns only active rooms. If a room appears in that list, it is active. • A room becomes inactive/deleted when it closes; the
room_finished
webhook event is emitted when the last participant leaves (and that indicates the room has ended). • The
room_started
webhook is emitted when a room is created/first participant joins. If you need the exact property list returned by
room.listRooms()
(fields and types), tell me which SDK or API version you’re using (server REST API, JS, or another SDK) and I’ll return the exact response schema. , with interactive elements