mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 20:41:17 +00:00
16 lines
376 B
JavaScript
16 lines
376 B
JavaScript
'use strict';
|
|
|
|
const Parser = require('../../..');
|
|
const Text = require('../../Text');
|
|
|
|
class LiveChatBannerHeader {
|
|
type = 'LiveChatBannerHeader';
|
|
|
|
constructor(data) {
|
|
this.text = new Text(data.text).toString();
|
|
this.icon_type = data.icon.iconType;
|
|
this.context_menu_button = Parser.parse(data.contextMenuButton);
|
|
}
|
|
}
|
|
|
|
module.exports = LiveChatBannerHeader; |