@vonage/messages
Version:
Multi-channel messaging that integrates WhatsApp, Facebook, Viber, SMS, and MMS
21 lines • 867 B
TypeScript
import { FileObject } from '../../interfaces/FileObject';
import { MessageType } from '../../interfaces/Messenger/MessageType';
import { MessengerFile } from './MessengerFile';
/**
* @deprecated please use the MessengerFile class instead
*
* @group Messenger
*/
export declare class File extends MessengerFile {
/**
* Constructs a new `File` instance.
*
* @param {FileObject} file - The file 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(file: FileObject, to: string, from: string, messenger?: MessageType, clientRef?: string);
}
//# sourceMappingURL=File.d.ts.map