@vonage/messages
Version:
Multi-channel messaging that integrates WhatsApp, Facebook, Viber, SMS, and MMS
18 lines • 639 B
TypeScript
import { WhatsAppText } from './WhatsAppText';
/**
* @deprecated please use the WhatsAppText class instead
*
* @group WhatsApp
*/
export declare class Text extends WhatsAppText {
/**
* Constructs a new `Text` instance for WhatsApp.
*
* @param {string} text - The text message content.
* @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(text: string, to: string, from: string, clientRef?: string);
}
//# sourceMappingURL=Text.d.ts.map