@vonage/messages
Version:
Multi-channel messaging that integrates WhatsApp, Facebook, Viber, SMS, and MMS
24 lines • 718 B
TypeScript
import { MessageInterface } from './MessageInterface';
import { MessageFileType } from '../types';
/**
* Represents a message interface for file attachments.
*
* This interface is used for defining messages with file attachments and
* includes the message type 'file' and the file content.
*
* @deprecated Please use types instead of interfaces.
*
* @ignore
*/
export interface MessageFileInterface extends MessageInterface {
/**
* Specifies the message type as 'file'.
*/
messageType: 'file';
/**
* The file content of the message, including the URL to the file and an
* optional caption.
*/
file: MessageFileType;
}
//# sourceMappingURL=MessageFileInterface.d.ts.map