Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.04 KB

PlayEarlyMedia.md

File metadata and controls

29 lines (22 loc) · 1.04 KB

# PlayEarlyMedia

Properties

Name Type Description Notes
file string RL of the audio file to be played to the caller. The URL can be the `recordingUrl` generated from the `RecordUtterance` or `StartRecordCall` PerCL commands or any accessible URL. FreeClimb will respect Cache-Control headers for this file. Use these to limit repeated requests for unchanged audio. If no Cache-Control header is provided, the file will be cached for seven days by default.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$json = <<<'JSON'
{
  "command": "PlayEarlyMedia",
  "file": "string"
}
JSON;

// create an instance of PlayEarlyMedia from a JSON string
$play_early_media = \FreeClimb\Api\ObjectSerializer::deserialize(
    json_decode($json),
    \FreeClimb\Api\Model\PlayEarlyMedia::class
);

[Back to Model list] [Back to API list] [Back to README]