MIDDAG for Moodle

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

Constants

TWILIO_URL_WHATSAPPTEMPLATES

public mixed TWILIO_URL_WHATSAPPTEMPLATES = 'https://messaging.twilio.com/v1/Channels/WhatsApp/Templates'

Properties

Methods

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> = []

        
On this page

Search results