copy your Account Sid and Auth Token
download the attached Twilio's Dll's and add both to your study
To add a reference to your study just right click on the body of the study and select "reference..."
in your code add:
Code: Select all
Imports Twilio
Code: Select all
Sub SMS
Dim AccountSid As String = "YOUR_API_HERE"
Dim AuthToken As String = "YOUR_API_HERE"
Dim twilio = New TwilioRestClient(AccountSid, AuthToken)
Dim YourTwilioNumber As String = "+11111111111"
Dim RecipientNumber As String = "+222222222"
Dim SmsMessage As String = "message from Multichart"
Dim message = twilio.SendMessage(YourTwilioNumber, RecipientNumber, SmsMessage, "")
End Sub