mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
mobile: deprecation.
This commit is contained in:
10
README.md
10
README.md
@@ -89,16 +89,6 @@ connectToWhatsApp()
|
||||
|
||||
If the connection is successful, you will see a QR code printed on your terminal screen, scan it with WhatsApp on your phone and you'll be logged in!
|
||||
|
||||
**Note:** install `qrcode-terminal` using `yarn add qrcode-terminal` to auto-print the QR to the terminal.
|
||||
|
||||
**Note:** the code to support the legacy version of WA Web (pre multi-device) has been removed in v5. Only the standard multi-device connection is now supported. This is done as WA seems to have completely dropped support for the legacy version.
|
||||
|
||||
## Connecting native mobile api
|
||||
|
||||
Baileys also supports the native mobile API, which allows users to authenticate as a standalone WhatsApp client using their phone number.
|
||||
|
||||
Run the [example](Example/example.ts) file with ``--mobile`` cli flag to use the native mobile API.
|
||||
|
||||
## Configuring the Connection
|
||||
|
||||
You can configure the connection by passing a `SocketConfig` object.
|
||||
|
||||
Reference in New Issue
Block a user