@vonage/messages
Version:
Multi-channel messaging that integrates WhatsApp, Facebook, Viber, SMS, and MMS
21 lines • 865 B
TypeScript
import { ImageObject } from '../../interfaces';
import { MessageType } from '../../interfaces/Messenger/MessageType';
import { MessengerImage } from './MessengerImage';
/**
* @deprecated please use MessengerImage class instead
*
* @group Messenger
*/
export declare class Image extends MessengerImage {
/**
* Constructs a new `Image` instance.
*
* @param {ImageObject} image - The image object containing the URL and optional caption.
* @param {string} to - The recipient's ID.
* @param {string} from - The sender's ID.
* @param {MessageType} messenger - The messenger object specifying the message category and tag.
* @param {string} clientRef - The client reference.
*/
constructor(image: ImageObject, to: string, from: string, messenger?: MessageType, clientRef?: string);
}
//# sourceMappingURL=Image.d.ts.map