@imput/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube. Fork of youtubei.js
17 lines (16 loc) • 714 B
TypeScript
import Feed from '../../core/mixins/Feed.js';
import C4TabbedHeader from '../classes/C4TabbedHeader.js';
import ItemSection from '../classes/ItemSection.js';
import { ItemSectionContinuation } from '../index.js';
import type { IBrowseResponse } from '../types/index.js';
import type { ApiResponse, Actions } from '../../core/index.js';
export default class Channel extends Feed<IBrowseResponse> {
header?: C4TabbedHeader;
contents?: ItemSection | ItemSectionContinuation;
constructor(actions: Actions, data: ApiResponse | IBrowseResponse, already_parsed?: boolean);
/**
* Retrieves next batch of content.
*/
getContinuation(): Promise<Channel>;
get has_continuation(): boolean;
}