【发布时间】:2019-04-05 05:59:45
【问题描述】:
这是我在尝试发送消息时遇到的错误。
“Twilio.Exceptions.ApiException”类型的未处理异常 发生在 Twilio.dll
附加信息:需要升级
我的代码是:
const string accountSid = "Value";
const string authToken = "Value";
TwilioClient.Init(accountSid, authToken);
var to = new PhoneNumber("+whatsapp:+13233633791");
var message = MessageResource.Create(
to,
from: new PhoneNumber("+whatsapp:+12037179461"),
body: "Hi Joe! Your order D45987AB will arrive on 8/12/2018 before 8 pm.");
Console.WriteLine(message.Sid);
【问题讨论】:
-
查看这个问题的答案:stackoverflow.com/questions/55428324/…
标签: twilio twilio-api