用户回复twilio sms api中的一个电话号码

时间:2015-10-28 12:28:22

标签: twilio

如果用户回复发送给他的消息,则该功能需要特定数据。假设用户已经回复或回复了诸如STOP或UNSUBSCRIBE之类的内容,或者可能是START,我需要对用户回复的消息做出一些特定的回复。

有没有办法做到这一点?

twilio对twilio帐户中的电话号码提供的请求网址究竟提供了哪些响应?

请告知相同情况。

1 个答案:

答案 0 :(得分:1)

Twilio开发者传道者在这里。

您可以找到the request Twilio makes to your application in the documentation的说明。

简而言之,参数如下所示:

Parameter   Description
MessageSid  A 34 character unique identifier for the message. May be used to later retrieve this message from the REST API.
SmsSid      Same value as MessageSid. Deprecated and included for backward compatibility.
AccountSid  The 34 character id of the Account this message is associated with.
From        The phone number that sent this message.
To          The phone number of the recipient.
Body        The text body of the message. Up to 1600 characters long.
NumMedia    The number of media items associated with your message

根据某些因素,还有更多项目。我再次建议您阅读the documentation以获取所有详细信息。