WhiskeySockets / Baileys

Lightweight full-featured typescript/javascript WhatsApp Web API
https://baileys.whiskeysockets.io/
MIT License
3.98k stars 1.35k forks source link

Please support the new version of Link with phone number instead function, thank you! #982

Closed xiaohuwei closed 2 months ago

xiaohuwei commented 2 months ago

Today, when I was using the web version of whatApp, I found that I could get a string of 8-digit codes. I think Baileys should support this feature.

xiaohuwei commented 2 months ago

https://h5.go-share.cc/static/img/3.39d0fdfc.jpg

xiaohuwei commented 2 months ago

https://h5.go-share.cc/static/img/4.ddca7c21.jpg

Fonnte commented 2 months ago

It's already exist. Please take your time to do some research before opening an issue. It's even exist in the example.ts using pairingCode : https://github.com/WhiskeySockets/Baileys/blob/master/Example/example.ts