import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.media.download('media_name');
console.log(response);
const content = await response.blob();
console.log(content);"<string>"Downloads a stored media file.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.media.download('media_name');
console.log(response);
const content = await response.blob();
console.log(content);"<string>"Was this page helpful?