Files
YouTube.js/typings/lib/parser/youtube/Library.d.ts
LuanRT 4f994c338b refactor: rewrite Live Chat logic (#85)
* dev: start LiveChat refactor

* dev: implement simple module system to separate classes

+ add a few Live Chat actions

* dev: add fundamental Live Chat classes

* chore: update type declarations

* feat: finalize Live Chat

Now supporting almost all kinds of messages! Next up: add a ability to send messages.

* chore: update type declarations

* chore: update contributors list

* feat(livechat): add `sendMessage()` method

* chore: remove unneeded files

* style: format code

* chore: remove outdated examples

* chore: update tests

* chore: remove trailing spaces

* chore: remove trailing spaces x2
2022-06-29 16:51:51 -03:00

31 lines
930 B
TypeScript

export = Library;
/** @namespace */
declare class Library {
/**
* @param {object} response - API response.
* @param {import('../../core/Actions')} actions
*/
constructor(response: object, actions: import('../../core/Actions'));
profile: {
stats: any;
user_info: any;
};
/** @type {{ type: string, title: import('../contents/classes/Text'), contents: object[], getAll: Promise.<Playlist | History | Feed> }[] } */
sections: {
type: string;
title: import('../contents/classes/Text');
contents: object[];
getAll: Promise<Playlist | History | Feed>;
}[];
get history(): any;
get watch_later(): any;
get liked_videos(): any;
get playlists(): any;
get clips(): any;
get page(): any;
#private;
}
import Playlist = require("./Playlist");
import History = require("./History");
import Feed = require("../../core/Feed");