twilio_service
Table of Contents
Constants
-
API_PREFIX
= ''
-
TWILIO_URL_WHATSAPPTEMPLATES
= 'https://messaging.twilio.com/v1/Channels/WhatsApp/Templates'
Properties
-
$client
: http_client
-
$config
: mixed
Methods
-
__construct()
: mixed
-
get_templates()
: mixed
-
send()
: void
-
get()
: mixed
-
patch()
: mixed
-
post()
: mixed
API_PREFIX
public
mixed
API_PREFIX
= ''
TWILIO_URL_WHATSAPPTEMPLATES
public
mixed
TWILIO_URL_WHATSAPPTEMPLATES
= 'https://messaging.twilio.com/v1/Channels/WhatsApp/Templates'
$client
protected
http_client
$client
$config
protected
mixed
$config
__construct()
public
__construct() : mixed
get_templates()
public
get_templates() : mixed
send()
public
send(mixed $id, mixed $template, mixed $value) : void
Parameters
-
$id
: mixed
-
-
$template
: mixed
-
-
$value
: mixed
-
get()
protected
get(string $endpoint[, array<string|int, mixed> $params = [] ]) : mixed
Parameters
-
$endpoint
: string
-
-
$params
: array<string|int, mixed>
= []
-
patch()
protected
patch(string $endpoint[, array<string|int, mixed> $params = [] ]) : mixed
Parameters
-
$endpoint
: string
-
-
$params
: array<string|int, mixed>
= []
-
post()
protected
post(string $endpoint[, array<string|int, mixed> $params = [] ]) : mixed
Parameters
-
$endpoint
: string
-
-
$params
: array<string|int, mixed>
= []
-