@vonage/messages
Version:
Multi-channel messaging that integrates WhatsApp, Facebook, Viber, SMS, and MMS
19 lines • 771 B
TypeScript
import { CustomPayload } from '../../interfaces/WhatsApp/CustomPayload';
import { WhatsAppCustom } from './WhatsAppCustom';
/**
* @deprecated Please use WhatsAppCustom class instead
*
* @group WhatsApp
*/
export declare class CustomMessage extends WhatsAppCustom {
/**
* Constructs a new `CustomMessage` instance for WhatsApp.
*
* @param {CustomPayload} custom - The custom payload for the message.
* @param {string} to - The recipient's WhatsApp number.
* @param {string} from - The sender's WhatsApp number.
* @param {string} clientRef - (Optional) A unique client reference for the message.
*/
constructor(custom: CustomPayload, to: string, from: string, clientRef?: string);
}
//# sourceMappingURL=CustomMessage.d.ts.map