Module notifications
asmaj/notifications
0.2.0
Module Overview
This module provides APIs to send an SMS and email.
Usage
Using the SMS API to send a notification
Here's an example of how you can use the SMS API to send a notification:
configurable notifications:TwilioConfig twilioConfig = ?; twilio:SmsResponse|error sendSmsResult = sendSms("0094077123456", "hello there!", twilioConfig);
Using the Email API to send a notification
Here's an example of how you can use the SMS API to send a notification:
configurable notifications:TwilioConfig twilioConfig = ?; twilio:SmsResponse|error sendSmsResult = sendSms("0094077123456", "hello there!", twilioConfig);