mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 03:59:38 +00:00
* chore: generate API ref using `typedoc` * chore: declutter readme and add links to ytjs.dev * chore: clean up
46 lines
1.2 KiB
Markdown
46 lines
1.2 KiB
Markdown
[youtubei.js](../../../README.md) / [YT](../README.md) / TimeWatched
|
|
|
|
# Class: TimeWatched
|
|
|
|
## Constructors
|
|
|
|
### new TimeWatched()
|
|
|
|
> **new TimeWatched**(`response`): [`TimeWatched`](TimeWatched.md)
|
|
|
|
#### Parameters
|
|
|
|
• **response**: [`ApiResponse`](../../../interfaces/ApiResponse.md)
|
|
|
|
#### Returns
|
|
|
|
[`TimeWatched`](TimeWatched.md)
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/youtube/TimeWatched.ts:15](https://github.com/LuanRT/YouTube.js/blob/eb21af33db708f0355f4fb15881f5d4fabc7b06c/src/parser/youtube/TimeWatched.ts#L15)
|
|
|
|
## Properties
|
|
|
|
### contents?
|
|
|
|
> `optional` **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ItemSection`](../../YTNodes/classes/ItemSection.md)\>
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/youtube/TimeWatched.ts:13](https://github.com/LuanRT/YouTube.js/blob/eb21af33db708f0355f4fb15881f5d4fabc7b06c/src/parser/youtube/TimeWatched.ts#L13)
|
|
|
|
## Accessors
|
|
|
|
### page
|
|
|
|
> `get` **page**(): [`IBrowseResponse`](../../APIResponseTypes/type-aliases/IBrowseResponse.md)
|
|
|
|
#### Returns
|
|
|
|
[`IBrowseResponse`](../../APIResponseTypes/type-aliases/IBrowseResponse.md)
|
|
|
|
#### Defined in
|
|
|
|
[src/parser/youtube/TimeWatched.ts:29](https://github.com/LuanRT/YouTube.js/blob/eb21af33db708f0355f4fb15881f5d4fabc7b06c/src/parser/youtube/TimeWatched.ts#L29)
|