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 SmsOptions

Abstract
Namespace: Angelfon\SDK\Rest\Api\V099\User
Located at Rest/Api/V099/User/SmsOptions.php
Methods summary
public static Angelfon\SDK\Rest\Api\V099\User\ReadSmsOptions
# read( string $recipient = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, string $batchId = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, string $scheduledBefore = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, string $scheduledAfter = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, integer $status = Angelfon\SDK\Rest\Api\V099\User\Values::NONE )

Build filters for the API response according to the specified parameters

Build filters for the API response according to the specified parameters

Parameters

$recipient
Filter by phone number
$batchId
Filter by batch ID
$scheduledBefore
Filters sms scheduled before the datetime specified
$scheduledAfter
Filters sms scheduled after the datetime specified
$status
Filters by call status (0 => pending, 1 => sended)

Returns

Angelfon\SDK\Rest\Api\V099\User\ReadSmsOptions
The builder for read sms options
public static Angelfon\SDK\Rest\Api\V099\User\CreateSmsOptions
# create( string $recipientName = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, string $body = Angelfon\SDK\Rest\Api\V099\User\Values::NONE, string $sendAt = 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 )

Build options for a new Sms

Build options for a new Sms

Parameters

$recipientName
The name of the recipient
$body
The content of the Sms. Maximum 160 ASCII characters.
$sendAt
UTC time to schedule the Sms ie. '2017-05-15 14:15:00'
$batchId
Add this Sms to a specific batch
$batchName
Name this batch

Returns

Angelfon\SDK\Rest\Api\V099\User\CreateSmsOptions
The builder for create Sms options
API documentation generated by ApiGen