feat: send Media HD (#3535)

* Changing the quality of media downloads

* return function result

* add option sendImageAsHd

* change example

* fix quotes

* chore: remove unused code

---------

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
This commit is contained in:
tofers 2025-06-02 22:19:22 +03:00 • committed by GitHub
commit 0ffb66fdb1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 25 additions and 9 deletions

2
index.d.ts vendored
View file

@ -1225,6 +1225,8 @@ declare namespace WAWebJS {
sendMediaAsSticker?: boolean
/** Send media as document */
sendMediaAsDocument?: boolean
/** Send media as quality HD */
sendMediaAsHd?: boolean
/** Send photo/video as a view once message */
isViewOnce?: boolean
/** Automatically parse vCards and send them as contacts */