This repository was archived by the owner on Sep 15, 2022. It is now read-only.
Repository navigation
1.7.0
- Add support for supplying an NCCO inline when placing a call
$call = new Call();
$call->setTo('TO_NUMBER')
->setFrom('FROM_NUMBER')
->setNcco([
[
'action' => 'talk',
'text' => 'This is a text to speech call from Nexmo'
]
]);
$client->calls()->create($call);