PaginatedResponse
popyt / Library Exports / PaginatedResponse
Type Alias: PaginatedResponse<T>
PaginatedResponse<
T> =object
Defined in: types/RetrievalService.ts:115
A paginated response that can be navigated by providing the nextPageToken to a related function within
the YouTube class to instruct it to retrieve the next page.
Type Parameters
T
T extends PaginatedInstance
Properties
items
items:
T[]
Defined in: types/RetrievalService.ts:119
The items returned from the request to the YouTube API.
nextPageToken?
optionalnextPageToken?:string
Defined in: types/RetrievalService.ts:127
Provide this to a function within the YouTube class to retrieve the next page instead of the first page of items from the method.
prevPageToken?
optionalprevPageToken?:string
Defined in: types/RetrievalService.ts:121