Beispiel #1
0
        private static void SendMMS(FlowrouteNumbersAndMessagingClient client, string from_did, string to_did)
        {
            MMS_Message msg = new MMS_Message();

            msg.From = from_did;
            msg.To   = to_did;
            msg.Body = "Hi Chris";
            // Create the image / media urls to add to the message
            List <string> pictures = new List <string>();

            pictures.Add("https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png");
            msg.MediaUrls = pictures;

            MessagesController messages = client.Messages;
            string             result   = messages.CreateSendAMMSMessage(msg);

            Console.WriteLine(result);
        }