@vonage/voice
Version:
The Voice API lets you create outbound calls, control in-progress calls and get information about historical calls.
20 lines • 694 B
TypeScript
import { CommonOutboundCall } from './CommonOutboundCall';
import { HttpMethod } from '../enums';
/**
* Represents an outbound call with an answer URL, including common call properties and the answer URL information.
*/
export type CallWithAnswerURL = CommonOutboundCall & {
/**
* The URL(s) to which call events should be sent when the call is answered.
*/
answerUrl: string[];
/**
* The HTTP method used to send events to the answer URL(s), typically "GET" or "POST."
*/
answerMethod?: HttpMethod;
/**
* Provide DTMF digits to send when the call is answerMethod
*/
dtmfAnswer?: string;
};
//# sourceMappingURL=CallWithAnswerURL.d.ts.map