uploadPreKeys
Summary
Used for pairing, session validation, and encryption key management.
Category
- Auth, Session, and Security
Usage
This method is called from a makeWASocket() instance based on your application flow (event, command handler, or service layer).
Notes
- Ensure the socket is connected before calling this method.
- Handle errors with
try/catchand logging to make retry/recovery safer.