I am using the node -whatsapi library
I am blocking the number. I follow the exact protocol specified in WIKI.
The flow that I follow is as follows:
- Create adapter
- Connect ()
- In Connect - Login
- Login
- sendIsOnline ()
- requestPrivacySettings ()
- requestServerProperties ()
- requestContactsSync ()
- For each contact, sendPresenceSubscription (), getStatus (), and getProfilePicture ()
And when I get the message:
adapter.requestContactsSync('1234567890', 'delta', 'background');- getProfilePicture ()
- Save to DB
Now, what we do and why we use WhatsApi
We allow our existing customers to talk with their internal teams about WhatsApp. Thus, the client initiates a chat, and the support team responds to them in the application.
Now the number is locked. It is impossible to understand where I am mistaken.
, , , 1 . .