// This is Generated Source. import GetCallRecordingResponse from "../definitions/GetCallRecordingResponse"; import PathSegment from "../PathSegment"; import Content from "./Content"; export default class Recording extends PathSegment { constructor(prv: PathSegment, id?: string, service?) { super("recording", id, prv, service); } /** * Internal identifier of a message attachment */ content(id?: string) { return new Content(this, id); } /** *

Since 1.0.18 (Release 6.5)

Returns call recording metadata.

Required Permissions

PermissionDescription
ReadCallRecordingDownloading call recording content

Usage Plan Group

Heavy

*/ get(): Promise { return this._send({ body: undefined, ignoreId: true, method: "get", query: undefined, }).then((res) => { return res.json(); }); } /** *

Since 1.0.18 (Release 6.5)

Returns call recording metadata.

Required Permissions

PermissionDescription
ReadCallRecordingDownloading call recording content

Usage Plan Group

Heavy

* return {ApiResponse} */ getRaw(): Promise { return this._send({ body: undefined, ignoreId: true, method: "get", query: undefined, }); } }