UNPKG

n8n-nodes-whatsapp-media-processor

Version:
14 lines (13 loc) 726 B
/// <reference types="node" /> /// <reference types="node" /> import { IExecuteFunctions } from 'n8n-core'; import { INodeExecutionData, INodeType, INodeTypeDescription, ICredentialDataDecryptedObject } from 'n8n-workflow'; export declare class WhatsappMediaProcessor implements INodeType { private static instance; private constructor(); static getInstance(): WhatsappMediaProcessor; description: INodeTypeDescription; execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>; static getMediaUrl(mediaId: string, credentials: ICredentialDataDecryptedObject): Promise<string>; static downloadMedia(url: string, credentials: ICredentialDataDecryptedObject): Promise<Buffer>; }