feat: add ThumbnailOverlayInlineUnplayable renderer

This commit is contained in:
LuanRT
2022-06-15 19:36:44 -03:00
parent 3458bb422a
commit f6af3faa41
2 changed files with 16 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
'use strict';
const Text = require('./Text');
class ThumbnailOverlayInlineUnplayable {
type = 'ThumbnailOverlayInlineUnplayable';
constructor(data) {
this.text = new Text(data.text).toString();
this.icon_type = data.icon.iconType;
}
}
module.exports = ThumbnailOverlayInlineUnplayable;