Send message without quote if quoteFails (#3475)

* Send message without quote if quoteFails

New option to send a message without quote when quotedMessage fails

* Rest

* Changing to sendMessage level

* Update Utils.js

* Update Utils.js

* Update Utils.js

---------

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
This commit is contained in:
tuyuribr 2025-04-24 18:10:39 -03:00 • committed by GitHub
commit ad11b5bfee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

5
index.d.ts vendored
View file

@ -1158,7 +1158,10 @@ declare namespace WAWebJS {
/** Sticker author, if sendMediaAsSticker is true */
stickerAuthor?: string
/** Sticker categories, if sendMediaAsSticker is true */
stickerCategories?: string[]
stickerCategories?: string[],
/** Should the bot send a quoted message without the quoted message if it fails to get the quote?
* @default false (disabled) */
ignoreQuoteErrors?: boolean
}
/** Options for editing a message */