我目前已为短信营销设置了twilio。我目前有一个问题,我无法用相同的号码回复用户。
这是我现在设置的方式:
这是我希望设置的方式:
我该怎么做?
答案 0 :(得分:0)
Twilio的传播者在这里。
您可以将Twilio Studio流用于forward the incoming SMS message from your own phone number to a Twilio phone number,然后将该流连接到sends that incoming message from your number to the user from the Twilio number的Twilio函数。 (向下滚动到提到Twilio函数的部分。)
Twilio函数代码如下:
exports.handler = function(context, event, callback) {
let twiml = new Twilio.twiml.MessagingResponse();
twiml.message(`${event.From}: ${event.Body}`, {
to: 'user-number'
});
callback(null, twiml);
};