feat(client): move sendReaction method to the Client#201695
feat(client): move sendReaction method to the Client#201695BenyFilho merged 1 commit intowwebjs:mainfrom
sendReaction method to the Client#201695Conversation
|
Check Lint errors |
76c8425 to
f64f799
Compare
I've fixed it. And today I also will run |
|
guys, i ran so i split them:
but the obviously - the "doc PR" contains all changes from "js PR" |
|
Nice work! |
|
guys, is there something that prevents this PR from being merged? do i need to fix something else, or it is just waiting for the "merge time"? |
Update the branch |
|
@maxkoryukov, please, always check your PRs. To be merged, the branch needs to be updated |
`Message.react` moved to `Client.sendReaction`
f64f799 to
1923188
Compare
|
I think branches were updated, but anyway I rebased this PR's branch on top of the |
PR Details
Message.reactmoved toClient.sendReaction(and the oldMessage.reactnow calls`this.client.sendReaction)
Description
The new method created from
Message.react, and the original method now calls the new one.Motivation and Context
With this method it is possible to send reactions to any message, not only to the just received message, or fetched by "load/fetch messages"
How Has This Been Tested
Basically, the code were just moved, so I called both:
and both worked in private/group messages.
Environment
I've tested with
whatsapp-web.js@1.34.6inside anode:24.12.0-alpine3.23(linux) docker image.webVersion: "2.3000.1036705643"
Types of changes
Checklist
npm test).index.d.ts) have been updated if necessary.example.js) / documentation have been updated if applicable.Related PRs
sendReactionmethod to the Client #4004