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