diff --git a/src/parser/classes/livechat/items/LiveChatPaidSticker.ts b/src/parser/classes/livechat/items/LiveChatPaidSticker.ts index 7b1fe5271..2655dceb0 100644 --- a/src/parser/classes/livechat/items/LiveChatPaidSticker.ts +++ b/src/parser/classes/livechat/items/LiveChatPaidSticker.ts @@ -15,10 +15,16 @@ export default class LiveChatPaidSticker extends YTNode { background_color: number; author_name_text_color: number; sticker: Thumbnail[]; + sticker_accessibility_label: string; + sticker_display_width: number; + sticker_display_height: number; purchase_amount: string; - context_menu: NavigationEndpoint; menu_endpoint: NavigationEndpoint; + context_menu: NavigationEndpoint; + context_menu_accessibility_label: string; timestamp: number; + timestamp_usec: string; + is_v2_style: boolean; constructor(data: RawNode) { super(); @@ -36,9 +42,15 @@ export default class LiveChatPaidSticker extends YTNode { this.background_color = data.backgroundColor; this.author_name_text_color = data.authorNameTextColor; this.sticker = Thumbnail.fromResponse(data.sticker); + this.sticker_accessibility_label = data.sticker.accessibility.accessibilityData.label; + this.sticker_display_width = data.stickerDisplayWidth; + this.sticker_display_height = data.stickerDisplayHeight; this.purchase_amount = new Text(data.purchaseAmountText).toString(); this.menu_endpoint = new NavigationEndpoint(data.contextMenuEndpoint); this.context_menu = this.menu_endpoint; + this.context_menu_accessibility_label = data.contextMenuAccessibility.accessibilityData.label; this.timestamp = Math.floor(parseInt(data.timestampUsec) / 1000); + this.timestamp_usec = data.timestampUsec; + this.is_v2_style = data.isV2Style; } } \ No newline at end of file