The following functions provide limited access to free SMS messaging through Twilio. If you have your own Twilio credentials, use the Twilio Library to consume fewer Medium One Workflow Credits.
To use this library and its functions, you must use the import line at the beginning of your Base Python code.
Send an SMS message to recipient phone number.
Credit cost: 100
strrecipient's phone number (North America only)
strthe body of the message
- Sample Code:
import FreeSMS result = FreeSMS.sendSMS('5555555555','Hello from Medium One!')
Note: The user can unsubscribe from SMS by replying "stop" and re-subscribe by replying "start"