UNPKG

@duell10111/youtubei.js

Version:

A JavaScript client for YouTube's private API, known as InnerTube.

28 lines (27 loc) 969 B
import { YTNode, type ObservedArray } from '../helpers.js'; import { type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import LikeButton from './LikeButton.js'; import VideoOwner from './VideoOwner.js'; import VideoViewCount from './VideoViewCount.js'; import VideoBadgeView from './VideoBadgeView.js'; import Text from './misc/Text.js'; export default class VideoMetadata extends YTNode { static type: string; title: Text; description: Text; allow_ratings: boolean; date_text: Text; video_id: string; like_button: LikeButton | null; owner: VideoOwner | null; view_count: VideoViewCount | null; is_limited_state: boolean; published_time_text: Text; may_truncate_channel_name: boolean; accessibility_text: string; onClickCommand: NavigationEndpoint; featured_metadata: ObservedArray<VideoBadgeView> | null; education_text: Text; constructor(data: RawNode); }