UNPKG

@antoniojps/youtubei.js

Version:

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

23 lines 827 B
import { YTNode } from '../../helpers.js'; export default class RunAttestationCommand extends YTNode { static type = 'RunAttestationCommand'; engagement_type; ids; constructor(data) { super(); this.engagement_type = data.engagementType; if (Reflect.has(data, 'ids')) { this.ids = data.ids.map((id) => ({ encrypted_video_id: id.encryptedVideoId, external_channel_id: id.externalChannelId, comment_id: id.commentId, external_owner_id: id.externalOwnerId, artist_id: id.artistId, playlist_id: id.playlistId, external_post_id: id.externalPostId, share_id: id.shareId })); } } } //# sourceMappingURL=RunAttestationCommand.js.map