Version:
SDK for interfacing with WhatsApp Business Platform in Typescript or Node.js using the Cloud API, hosted by Meta.
18 lines (15 loc) • 523 B
text/typescript
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
import { semanticVersionString } from './version';
export declare class WhatsAppClass {
constructor(senderNumberId?: number);
version: () => semanticVersionString;
updateTimeout(ms: number): boolean;
updateSenderNumberId(phoneNumberId: number): boolean;
updateAccessToken(accessToken: string): boolean;
}