UNPKG

innertuber-rn

Version:

A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).

17 lines 656 B
import { YTNode } from '../helpers.js'; import { Parser } from '../index.js'; import Button from './Button.js'; import Text from './misc/Text.js'; import Thumbnail from './misc/Thumbnail.js'; class LiveChatMessageInput extends YTNode { constructor(data) { super(); this.author_name = new Text(data.authorName); this.author_photo = Thumbnail.fromResponse(data.authorPhoto); this.send_button = Parser.parseItem(data.sendButton, Button); this.target_id = data.targetId; } } LiveChatMessageInput.type = 'LiveChatMessageInput'; export default LiveChatMessageInput; //# sourceMappingURL=LiveChatMessageInput.js.map