Ejemplo n.º 1
0
        private static string Text(string phone, string message, List <MessageResponseOption> options)
        {
            var resource = TwilioService.SendSMSMessage(phone, message, options);

            return(TwilioService.GetId(resource));
        }
Ejemplo n.º 2
0
        private static string Call(string phone, Event e)
        {
            var resource = TwilioService.SendVoiceMessage(phone, "Twilio/VoiceMessage?eventCode=" + e.Code);

            return(TwilioService.GetId(resource));
        }