@vonage/messages
Version:
Multi-channel messaging that integrates WhatsApp, Facebook, Viber, SMS, and MMS
19 lines • 714 B
TypeScript
import { ImageObject } from '../../interfaces';
import { WhatsAppImage } from './WhatsAppImage';
/**
* @deprecated Please use the WhatsAppImage class instead
*
* @group WhatsApp
*/
export declare class Image extends WhatsAppImage {
/**
* Constructs a new `Image` instance for WhatsApp.
*
* @param {ImageObject} image - The image object 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(image: ImageObject, to: string, from: string, clientRef?: string);
}
//# sourceMappingURL=Image.d.ts.map