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

23 lines (22 loc) 672 B
/// <reference types="node" /> import { ResponseType } from 'axios'; export declare const makeOptions: (useragentOverride: string) => { responseType: ResponseType; headers: { 'User-Agent': string; DNT: number; 'Upgrade-Insecure-Requests': number; origin: string; referer: string; }; }; export declare const timeout: (ms: number) => Promise<unknown>; export declare const mediaTypes: { IMAGE: string; VIDEO: string; AUDIO: string; PTT: string; DOCUMENT: string; STICKER: string; }; export declare const magix: (fileData: any, mediaKeyBase64: any, mediaType: any, expectedSize?: number) => Buffer;