class YTNodes.NavigationEndpoint
extends YTNode
import { YTNodes } from "https://deno.land/x/youtubei@v9.3.0-deno/deno.ts";
const { NavigationEndpoint } = YTNodes;
Constructors
new
NavigationEndpoint(data: RawNode)Properties
optional
dialog: CreatePlaylistDialog | YTNode | nulloptional
modal: ModalWithTitleAndButton | YTNode | nulloptional
next_endpoint: NavigationEndpointoptional
open_popup: OpenPopupAction | nullMethods
call<T extends IParsedResponse>(actions: Actions, args: { [key: string]: any; parse: true; }): Promise<T>
call(actions: Actions, args?: { [key: string]: any; parse?: false; }): Promise<ApiResponse>
getEndpoint(name: string)
Sometimes InnerTube does not return an API url, in that case the library should set it based on the name of the payload object.
toURL(): string | undefined