Exemple #1
0
        public void NexmoSmsSendUnicodeMsgTest()
        {
            var smsParam = new SmsParam
            {
                FromUser = "******",
                ToUser   = "******",//8618879628727
                Message  = "ÄãºÃ£¬»¶Ó­À´µ½Ôƶ¥qi pai",
            };

            var result = NexmoServices.SendUnicodeMsgAsync(smsParam).GetAwaiter().GetResult();

            Console.WriteLine(JsonConvert.SerializeObject(result));
        }
Exemple #2
0
        public void NexmoSmsSendMsgTest()
        {
            var smsParam = new SmsParam
            {
                FromUser = "******",
                ToUser   = "******",//8618879628727
                Message  = "ÄãºÃ,ÍæÓÎÏ·Âð£¿ÉÏÔƶ¥ÆåÅÆ£¬ÓŻݵÈ×ÅÄã",
            };

            var result = NexmoServices.SendMsgAsync(smsParam).GetAwaiter().GetResult();

            Console.WriteLine(JsonConvert.SerializeObject(result));
        }