n8n-nodes-thong-zalo-test-trial
Version:
Các node hỗ trợ Zalo cho n8n
14 lines (13 loc) • 753 B
TypeScript
export declare function saveImage(url: string): Promise<string | null>;
export declare function removeImage(imgPath: string): void;
export declare function saveVideo(url: string): Promise<string | null>;
export declare function removeVideo(videoPath: string): void;
export declare function getVideoType(url: string): 'youtube' | 'tiktok' | 'facebook' | 'direct' | 'unknown';
export declare function downloadVideoFromPlatform(url: string): Promise<string | null>;
export declare function generateThumbnail(videoPath: string): Promise<string | null>;
export declare function getVideoInfo(videoPath: string): Promise<{
duration: number;
width: number;
height: number;
} | null>;
export declare function getFileNameFromUrl(url: string): string;