UNPKG

venom-bot

Version:

Venom is a high-performance system developed with JavaScript to create a bot for WhatsApp, support for creating any interaction, such as customer service, media sending, sentence recognition based on artificial intelligence and all types of design archite

8 lines (7 loc) 326 B
/** * Converts given file into base64 string * @param path file path * @param mime Optional, will retrieve file mime automatically if not defined (Example: 'image/png') */ export declare function fileToBase64(path: string, mime?: string): Promise<string | false>; export declare function Mine(path: string): Promise<any>;