Page

data class Page<T>(val data: List<T>, val cursor: String?)

A single page of results from a paginated Twitch Helix API endpoint.

Parameters

data

the items on this page.

cursor

the cursor to pass to the next call to retrieve the next page, or null if this is the last page.

Constructors

Link copied to clipboard
constructor(data: List<T>, cursor: String?)

Properties

Link copied to clipboard
Link copied to clipboard
val data: List<T>