twilio callbackurl called with SendMessage method but not with SendSmsMessage method

后端 未结 2 1102
孤街浪徒
孤街浪徒 2021-01-27 12:41

I am using twilio paid account for sending sms messaging. I have also configured a callback to do some status update in my application when message is delivered to client. One o

相关标签:
2条回答
  • 2021-01-27 12:47

    SendMessage is the newer API call, I went thru this exact issue a few weeks ago, complicated by a few bugs :) -- see this post

    0 讨论(0)
  • 2021-01-27 13:00

    Twilio developer evangelist here. The SMS endpoint is deprecated in the API and doesn't respond the same way as newer resources. The SendSmsMessage method you are calling is using that old endpoint and SendMessage is using the new Messages resource which behaves as you're expecting.

    I recommend using SendMessage everywhere that you need message sending.

    0 讨论(0)
提交回复
热议问题