Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

sending sticker #21

Closed
thoriqazzikraa opened this issue Aug 27, 2024 · 4 comments
Closed

sending sticker #21

thoriqazzikraa opened this issue Aug 27, 2024 · 4 comments
Labels

Comments

@thoriqazzikraa
Copy link

i can't sending sticker using image from file path

const media = await ctx.getMediaMessage(ctx.msg, "buffer")
fs.writeFileSync(__dirname, media)
await ctx.reply({ sticker:  { url: __dirname }})

the sticker is blank, but working with send image

Screenshot_2024-08-28-02-01-07-79_6012fa4d4ddec268fc5c7112cbb265e7

Copy link

github-actions bot commented Sep 2, 2024

This issue is stale because it has been open 5 days with no activity. Remove the stale label or comment or this will be closed in 2 days

@github-actions github-actions bot added the Stale label Sep 2, 2024
@thoriqazzikraa
Copy link
Author

.

@github-actions github-actions bot removed the Stale label Sep 3, 2024
@itsreimau
Copy link

i can't sending sticker using image from file path

const media = await ctx.getMediaMessage(ctx.msg, "buffer")
fs.writeFileSync(__dirname, media)
await ctx.reply({ sticker:  { url: __dirname }})

the sticker is blank, but working with send image

Screenshot_2024-08-28-02-01-07-79_6012fa4d4ddec268fc5c7112cbb265e7

You can use wa-sticker-formatter to send stickers.

Copy link

github-actions bot commented Sep 9, 2024

This issue is stale because it has been open 5 days with no activity. Remove the stale label or comment or this will be closed in 2 days

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants