asp.net web api - How to send multiple sms messages as response to Twilio's single request -
i have send multiple sms messages response twilio's single request in asp.net webapi (c#). how achieve that? each message should come separate sms on phone.
is there way that?
edit:
if have :
var response = new twilioresponse(); if (smsbody == "message") { response.sms("message one"); return request.createresponse(httpstatuscode.ok, response.element); }
can give
response.sms("message one"); response.sms("message two")? return .....
will work?
twilio evangelist here.
are asking how send multiple messages in response incoming message? if thats case, can include multiple <sms>
verbs in response:
<response> <sms>message one</sms> <sms>message two</sms> </response>
this tells twilio send 2 messages number send inbound message.
hope helps.
Comments
Post a Comment