UNPKG

@virtuals-protocol/game-twitter-node

Version:

Strongly typed, full-featured, light, versatile yet powerful Virtual Twitter API v2 client for Node.js. Forked from twitter-api-v2.

14 lines (13 loc) 608 B
import { TwitterResponse } from '../types'; import TwitterPaginator from './TwitterPaginator'; export declare abstract class CursoredV1Paginator<TApiResult extends { next_cursor_str?: string; next_cursor?: string; }, TApiParams extends { cursor?: string; }, TItem, TParams = any> extends TwitterPaginator<TApiResult, TApiParams, TItem, TParams> { protected getNextQueryParams(maxResults?: number): Partial<TApiParams>; protected isFetchLastOver(result: TwitterResponse<TApiResult>): boolean; protected canFetchNextPage(result: TApiResult): boolean; private isNextCursorInvalid; }