docs: fix wrong parameter name
This commit is contained in:
parent
0928f48762
commit
7d2c89cf84
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ class MessageMedia {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a MessageMedia instance from a local file path
|
* Creates a MessageMedia instance from a local file path
|
||||||
* @param {string} path
|
* @param {string} filePath
|
||||||
*/
|
*/
|
||||||
static fromFilePath(filePath) {
|
static fromFilePath(filePath) {
|
||||||
const b64data = fs.readFileSync(filePath, {encoding: 'base64'});
|
const b64data = fs.readFileSync(filePath, {encoding: 'base64'});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue