mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-29 01:26:25 +00:00
chore: v6.4.1 release
This commit is contained in:
18
deno/src/parser/classes/TranscriptSectionHeader.ts
Normal file
18
deno/src/parser/classes/TranscriptSectionHeader.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { YTNode } from '../helpers.ts';
|
||||
import type { RawNode } from '../index.ts';
|
||||
import Text from './misc/Text.ts';
|
||||
|
||||
export default class TranscriptSectionHeader extends YTNode {
|
||||
static type = 'TranscriptSectionHeader';
|
||||
|
||||
start_ms: string;
|
||||
end_ms: string;
|
||||
snippet: Text;
|
||||
|
||||
constructor(data: RawNode) {
|
||||
super();
|
||||
this.start_ms = data.startMs;
|
||||
this.end_ms = data.endMs;
|
||||
this.snippet = new Text(data.snippet);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user