fix: send docs without caption (#2660)

* fix: allow to send docs without a caption

* fix: typo

* fix: async function proper handling
This commit is contained in:
alechkos 2023-12-12 23:36:44 +02:00 • committed by GitHub
commit 981fa822a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 6 deletions

2
index.d.ts vendored
View file

@ -440,7 +440,7 @@ declare namespace WAWebJS {
/** User agent to use in puppeteer.
* @default 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36' */
userAgent?: string
/** Ffmpeg path to use when formating videos to webp while sending stickers
/** Ffmpeg path to use when formatting videos to webp while sending stickers
* @default 'ffmpeg' */
ffmpegPath?: string,
/** Object with proxy autentication requirements @default: undefined */