UNPKG

plivo

Version:

A Node.js SDK to make voice calls and send SMS using Plivo and to generate Plivo XML

34 lines 932 B
/** * Represents a Multiparty Call Member * @constructor * @param {function} client - make api call * @param {object} [data] - data of phlo */ export class UpdateMemberResponse { constructor(params: object); apiId: string; error: string; } export class PhloMultiPartyCallMember extends PlivoResource { constructor(client: Function, data ? : {}); action: string; client: Function; resumeCall(): Promise < any > ; voicemailDrop(): Promise < any > ; hangup(): Promise < any > ; hold(): Promise < any > ; unhold(): Promise<any>; update(action: object): Promise<UpdateMemberResponse>; } export class PhloMultiPartyCallMemberInterface extends PlivoResourceInterface { constructor(client: Function, data ? : {}); action: string; client: Function; get(phloId: string, nodeId: string, memberAddress: string): any; } import { PlivoResource } from "../base"; import { PlivoResourceInterface } from "../base";