@josue.0/whatsapp-cloud-api
Version:
Node.js library for creating bots and sending/receiving messages using the Whatsapp Cloud API
7 lines (6 loc) • 311 B
TypeScript
export interface SendMessageResult {
messageId: string;
phoneNumber: string;
whatsappId: string;
}
export declare const sendRequestHelper: (fromPhoneNumberId: string, accessToken: string, responseLogger?: (obj: any) => Promise<void>, version?: string) => <T>(data: T) => Promise<SendMessageResult>;