Overview

Namespaces

  • Angelfon
    • SDK
      • Exceptions
      • Http
      • Rest
        • Api
          • V099
            • User

Classes

  • CallContext
  • CallInstance
  • CallList
  • CallOptions
  • CallPage
  • CreateCallOptions
  • CreateSmsOptions
  • ReadCallOptions
  • ReadSmsOptions
  • SmsContext
  • SmsInstance
  • SmsList
  • SmsOptions
  • SmsPage
  • Overview
  • Namespace
  • Class

Class CreateCallOptions

Angelfon\SDK\Options implements IteratorAggregate
Extended by Angelfon\SDK\Rest\Api\V099\User\CreateCallOptions
Namespace: Angelfon\SDK\Rest\Api\V099\User
Located at Rest/Api/V099/User/CallOptions.php
Methods summary
public Angelfon\SDK\Rest\Api\V099\User\CreateCallOptions
# __construct( integer $type = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, integer $audioId1 = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, string $tts1 = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, integer $audioId2 = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, string $tts2 = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, integer $audioId3 = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, boolean $callerId = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, string $callFrom = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, string $recipientName = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, string $callAt = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, boolean $forceSchedule = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, boolean $adjustSchedule = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, string $batchId = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, string $batchName = Angelfon\SDK\Rest\Api\V099\User\Values::NONE )

Parameters

$type
The call type
$audioId1
The ID of the audio first in the play queue
$tts1
A text to be readed
$audioId2
The ID of the audio third in the play queue
$tts2
A text to be readed
$audioId3
The ID of the audio fifth in the play queue
$callerId
Use a validated phone to show on the call
$callFrom
Use a phone number to make the call from (special users only)
$recipientName
The name of the recipient
$callAt
UTC time to schedule the call ie. '2017-05-15 14:15:00'
$forceSchedule
Schedule call regardless of user's defined restriction periods
$adjustSchedule
Schedule call at the end of the restricted period
$batchId
Add this call to a specific batch
$batchName
Name this batch

Returns

Angelfon\SDK\Rest\Api\V099\User\CreateCallOptions
The builder for create call options
public
# setBatchId( $batchId )
public
# setBatchName( $batchName )
public
# setType( $type )
public
# setAudio1( $audioId1 )
public
# setAudio2( $audioId2 )
public
# setAudio3( $audioId3 )
public
# setTts1( $tts )
public
# setTts2( $tts )
public
# setCallerId( $callerId )
public
# setCallFrom( $callFrom )
public
# setRecipientName( $recipientName )
public
# setCallAt( $callAt )
public
# setForceSchedule( $forceSchedule )
public
# setAdjustSchedule( $adjustSchedule )
Methods inherited from Angelfon\SDK\Options
getIterator()
Properties inherited from Angelfon\SDK\Options
$options
API documentation generated by ApiGen