Skip to content

Instantly share code, notes, and snippets.

@jarodreyes
Last active February 20, 2018 23:48
Show Gist options
  • Save jarodreyes/98c131eeb58314037cec5699b8568512 to your computer and use it in GitHub Desktop.
Save jarodreyes/98c131eeb58314037cec5699b8568512 to your computer and use it in GitHub Desktop.
Twilio Code DevIntersection
using Twilio;
using Twilio.Rest.Api.V2010.Account;
using Twilio.Types;
namespace DevIntersection
{
class SendSMS
{
Twilio.Client.Init(
"accountSid",
"authToken"
);
var from = new PhoneNumber("twilioNumber");
var to = new PhoneNumber("attendeeNumber");
MessageResource.Create(
to, from,
body: "Come visit Twilio at Booth #8");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment