UNPKG

@imput/youtubei.js

Version:

A JavaScript client for YouTube's private API, known as InnerTube. Fork of youtubei.js

16 lines 681 B
import Text from './misc/Text.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import { YTNode } from '../helpers.js'; class SingleActionEmergencySupport extends YTNode { constructor(data) { super(); this.action_text = new Text(data.actionText); this.nav_text = new Text(data.navigationText); this.details = new Text(data.detailsText); this.icon_type = data.icon.iconType; this.endpoint = new NavigationEndpoint(data.navigationEndpoint); } } SingleActionEmergencySupport.type = 'SingleActionEmergencySupport'; export default SingleActionEmergencySupport; //# sourceMappingURL=SingleActionEmergencySupport.js.map