mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 03:59:38 +00:00
18 lines
381 B
JavaScript
18 lines
381 B
JavaScript
'use strict';
|
|
|
|
const Parser = require('../..');
|
|
|
|
class ReplayChatItemAction {
|
|
type = 'ReplayChatItemAction';
|
|
|
|
constructor(data) {
|
|
this.actions = Parser.parse(data.actions?.map((action) => {
|
|
delete action.clickTrackingParams;
|
|
return action;
|
|
})) || [];
|
|
|
|
this.video_offset_time_msec = data.videoOffsetTimeMsec;
|
|
}
|
|
}
|
|
|
|
module.exports = ReplayChatItemAction; |