UNPKG

@vonage/messages

Version:

Multi-channel messaging that integrates WhatsApp, Facebook, Viber, SMS, and MMS

19 lines 712 B
import { FileObject } from '../../interfaces/FileObject'; import { WhatsAppFile } from './WhatsAppFile'; /** * @deprecated please use the WhatsAppFile class instead * * @group WhatsApp */ export declare class File extends WhatsAppFile { /** * Constructs a new `File` instance for WhatsApp. * * @param {FileObject} file - The file 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(file: FileObject, to: string, from: string, clientRef?: string); } //# sourceMappingURL=File.d.ts.map