mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-20 04:29:15 +00:00
fix: remove problematic import
This commit is contained in:
@@ -5,7 +5,7 @@ const path = require('path');
|
|||||||
const mime = require('mime');
|
const mime = require('mime');
|
||||||
const fetch = require('node-fetch');
|
const fetch = require('node-fetch');
|
||||||
const { URL } = require('url');
|
const { URL } = require('url');
|
||||||
const { Client } = require('whatsapp-web.js'); // eslint-disable-line no-unused-vars
|
|
||||||
/**
|
/**
|
||||||
* Media attached to a message
|
* Media attached to a message
|
||||||
* @param {string} mimetype MIME type of the attachment
|
* @param {string} mimetype MIME type of the attachment
|
||||||
@@ -52,7 +52,7 @@ class MessageMedia {
|
|||||||
* @param {Object} [options]
|
* @param {Object} [options]
|
||||||
* @param {boolean} [options.unsafeMime=false]
|
* @param {boolean} [options.unsafeMime=false]
|
||||||
* @param {string} [options.filename]
|
* @param {string} [options.filename]
|
||||||
* @param {Client} [options.client]
|
* @param {object} [options.client]
|
||||||
* @param {object} [options.reqOptions]
|
* @param {object} [options.reqOptions]
|
||||||
* @param {number} [options.reqOptions.size=0]
|
* @param {number} [options.reqOptions.size=0]
|
||||||
* @returns {Promise<MessageMedia>}
|
* @returns {Promise<MessageMedia>}
|
||||||
|
|||||||
Reference in New Issue
Block a user