arckinteractive/twilio_sms

Twilio SMS API

1.1.0 2019-08-01 11:34 UTC

This package is auto-updated.

Last update: 2024-10-29 04:59:12 UTC


README

Elgg 2.1

Features

  • Send SMS using Twilio API

Usage

This plugin provides a handler for SMS notification delivery for notifications_sms plugin.

It can also send SMS messages programmatically:

notify_user($member->guid, 0, $subject, $message, [
		'action' => 'something',
		'object' => $entity,
		'url' => $entity->getURL(),
		'summary' => $summary,
		'sms' => $sms, // Provide custom text of the SMS notification, if not provided will fallback to 'summary' and then to 'subject'
], ['email', 'site', 'sms']);
elgg_send_sms('+1123434343', 'Hello there');