NodeJS implementation from great research sigalor/whatsapp-web-reveng.
- Authentication QR Code
- Resume Session (takeover)
- Reading initial WS message
- Sending presence state
- Sending Message
- Listen when got new message
- Get All unread message
- Mark read
- Auto reply
- First send init command
- if: have stored
browserToken
, send login command (may gotchallenge
command, handle it) - else: Generate QR Code from
ref
andpublicKey
- Waiting string packet that 's' prefixed and have
Conn
, mean Session is OK - WA Server will send some data,
Blocklist
,Stream
,Props
- After it, will got binary (encrypted message)
- two
preempt
contains contacts and chat lists