mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-18 11:39:14 +00:00
docs: fix wrong parameter name
This commit is contained in:
@@ -33,7 +33,7 @@ class MessageMedia {
|
||||
|
||||
/**
|
||||
* Creates a MessageMedia instance from a local file path
|
||||
* @param {string} path
|
||||
* @param {string} filePath
|
||||
*/
|
||||
static fromFilePath(filePath) {
|
||||
const b64data = fs.readFileSync(filePath, {encoding: 'base64'});
|
||||
|
||||
Reference in New Issue
Block a user