docs: fix wrong parameter name

This commit is contained in:
Pedro Lopez
2020-05-23 22:37:31 -04:00
parent 0928f48762
commit 7d2c89cf84

View File

@@ -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'});