Skip to main content

fetchLatestWaWebVersion

amiudmodz


amiudmodz / fetchLatestWaWebVersion

Function: fetchLatestWaWebVersion()

fetchLatestWaWebVersion(options): Promise<{ error: undefined; isLatest: boolean; version: WAVersion; } | { error: unknown; isLatest: boolean; version: WAVersion; }>

Defined in: src/Utils/generics.ts:280

A utility that fetches the latest web version of whatsapp. Use to ensure your WA connection is always on the latest version

Parameters​

options​

RequestInit = {}

Returns​

Promise<{ error: undefined; isLatest: boolean; version: WAVersion; } | { error: unknown; isLatest: boolean; version: WAVersion; }>