tulir / whatsmeow

Go library for the WhatsApp web multidevice API
https://go.mau.fi/whatsmeow
Mozilla Public License 2.0
2.25k stars 418 forks source link

client.PairPhone has an invalid device type #643

Closed xiaohuwei closed 2 months ago

xiaohuwei commented 2 months ago
    code, err := client.PairPhone(phone, true, whatsmeow.PairClientChrome, "Chrome (Windows)")

After successful login, the phone displays unknown device instead of Google Chrome.

tulir commented 2 months ago

I don't remember how that works exactly, but the client payload used for QR login probably affects code login too