A page of list results. Exposes the current data and a nextCursor, and is async-iterable across all pages:
data
nextCursor
const first = await vsdk.rooms.list();first.data; // this pagefor await (const room of first) { ... } // every room, auto-fetching pages Copy
const first = await vsdk.rooms.list();first.data; // this pagefor await (const room of first) { ... } // every room, auto-fetching pages
Items on this page.
Cursor for the next page, or undefined if this is the last page.
undefined
Total items across all pages (when the API reports it).
Optional
Readonly
Whether another page is available.
A page of list results. Exposes the current
dataand anextCursor, and is async-iterable across all pages: