- Preparing search index...
- The search index is not available
baileys
Function fetchLatestWaWebVersion
- fetchLatestWaWebVersion(options): Promise<{
error: undefined;
isLatest: boolean;
version: WAVersion;
} | {
error: any;
isLatest: boolean;
version: WAVersion;
}>
-
Parameters
-
options: AxiosRequestConfig<{}>
Returns Promise<{
error: undefined;
isLatest: boolean;
version: WAVersion;
} | {
error: any;
isLatest: boolean;
version: WAVersion;
}>
A utility that fetches the latest web version of whatsapp. Use to ensure your WA connection is always on the latest version