wa-sticker
TypeScript icon, indicating that this package has built-in type declarations

1.0.14 • Public • Published

You need to have ffmpeg installed on your system.

Installation

npm install wa-sticker

Usage

import { createSticker } from 'wa-sticker'

(async () => {

  const sticker = await createSticker(['./temp/test.jpg'], {
    crop: true,
    metadata: {
      publisher: 'Whatsapp',
      packname: 'MySticker'
    }
  })
  await sock.sendMessage(chatId, { sticker })

})()

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Package Sidebar

Install

npm i wa-sticker

Weekly Downloads

5

Version

1.0.14

License

MIT

Unpacked Size

15.2 kB

Total Files

14

Last publish

Collaborators

  • 4l3dx