YoutubeSearch: {
    channel: ({ type: "channel"; url: string; description: string; username: string; avatar: string; channelId: string; channelName: string; isVerified: boolean; subscriberH: string; subscriber: string; })[];
    playlist: ({ type: "mix"; title: string; thumbnail: string; video: { title: string; duration: string; videoId: string; durationH: string; }[]; playlistId: string; })[];
    video: ({ type: "video"; url: string; title: string; description: string; authorName: string; duration: string; thumbnail: string; authorAvatar: string; videoId: string; durationH: string; durationS: number; viewH: string; view: string; publishedTime?: string | undefined; })[];
}

Type declaration

  • channel: ({ type: "channel"; url: string; description: string; username: string; avatar: string; channelId: string; channelName: string; isVerified: boolean; subscriberH: string; subscriber: string; })[]
  • playlist: ({ type: "mix"; title: string; thumbnail: string; video: { title: string; duration: string; videoId: string; durationH: string; }[]; playlistId: string; })[]
  • video: ({ type: "video"; url: string; title: string; description: string; authorName: string; duration: string; thumbnail: string; authorAvatar: string; videoId: string; durationH: string; durationS: number; viewH: string; view: string; publishedTime?: string | undefined; })[]

Generated using TypeDoc