我正在测试Twilio,我遇到了几个问题。我正在尝试做一个入站短信,并用用户发送的消息体向用户发送回复。
[HttpPost("Receive")]
public TwiMLResult Receive()
{
var messagingResponse = new MessagingResponse();
messagingResponse.Message("Hello to you too");
return TwiML(messagingResponse);
}
这就
有没有人能告诉我,用Twilio API发送短信时,是否可以发送自定义参数?
我发短信是这样的:
var options = new CreateMessageOptions(smsToSend.PhoneNumber)
{
Body = message,
From = new PhoneNumber(twilioNumber),
ProvideFeedback = true,
我正在试着得到报告接收者是否收到短信?我可以发送短信,但Twilio不会回调我指定的URL,以下是我的代码片段:
// Create a rest client
TwilioRestClient client = new TwilioRestClient(com.main.Constants.ACCOUNT_SID, com.main.Constants.AUTH_TOKEN);
// Get the main account (The one we used to authenticate the client
Account mainAc
我有关于Twilio的试算表。当我发送短信时,它不支持回复,但我希望接收者也能回复。在Twilio控制台中,我可以看到它只支持从国内号码接收短信。如何才能从任何数字中接收到。这在试算表中是有可能的,对吧?或者我现在可以更改这个区域来测试其他数字的回复吗?我使用一个简单的节点js代码发送短信。
function sendSMS(from, to, body) {
client.messages.create(
{
to, // Recipient's number
messagingServiceSid: TWILIO_MESSAGING_S