feat: add support for sending sticker packs#3614
feat: add support for sending sticker packs#3614sergiooak wants to merge 6 commits intopedroslopez:mainfrom
Conversation
- Added sendMediaAsStickerPack option to API and typings - Implemented sticker pack creation and sending logic - Updated example.js with !sticker and !pack commands - Added required dependencies: archiver, sharp - Improved type definitions and
|
@alechkos About the introduced dependencies, it uses the before optionals archiver and unzipper, and the sharp is used to generate the pack thumbnail. |
alechkos
left a comment
There was a problem hiding this comment.
Please don't use sharp.
|
Yeah, I figured out why already haha, tomorrow I'll rework to get rid of sharp |
…ker pack thumbnails
- Downgraded 'archiver' from ^7.0.1 to ^5.3.1 - Rolled back 'unzipper' from ^0.10.14 to ^0.10.11 - Reverted other version changes introduced in the PR
|
@alechkos I've removed Sharp from the stack and now use Also, to ease my OCD, could you approve the PR: wwebjs/wwebjs.dev#97 |
alechkos
left a comment
There was a problem hiding this comment.
Hi @sergiooak, I tested and it seems that there is no difference between sending a regular pack and one with a custom thumbnail.
|
Also, you can't add a sticker pack to your stickers, it responds in |
|
The idea is great, I hope this functionality will be added one day. |
|
@sergiooak Review your PR with the recent changes |
|
working in last version? @sergiooak |
|
@BenyFilho and @hellhound20236-blip I don't work on this feature in a long time, I'll try to update and test this week |
Thanks youuu :) |
|
work ? @sergiooak |




PR Details
Summary:
Adds support for sending sticker packs, updates typings, and provides usage examples.
Description
sendMediaAsStickerPackoption to the API and typings.example.jswith new commands for sticker and sticker pack sending.archiver,sharp.Motivation and Context
This change allows users to send multiple stickers as a pack, improving feature parity with WhatsApp’s native functionality and expanding bot/media capabilities.
How Has This Been Tested
example.jsbot commands (!sticker,!pack).Environment
Types of changes
Checklist