简体   繁体   English

Twilio + 将变量传递到 function

[英]Twilio + Passing variables into a function

I am using the Twillio Studio and have run into a problem I am not sure how to solve我在使用 Twillio Studio 时遇到了一个问题,我不确定如何解决

I have these widgets我有这些小部件

Gather Input on Call随叫随到

Which then triggers然后触发

Record Voicemail录制语音邮件

Which then triggers然后触发

A Custom function, which is a Run Function.. I am trying to pass widget variables to it but I can't seem to work out a way of doing it一个 Custom function,这是一个 Run Function.. 我正在尝试将小部件变量传递给它,但我似乎无法找到一种方法

When I use the widgets.record_voicemail_1.RecordingUrl ( widget syntax ) as parameters for the function当我使用 widgets.record_voicemail_1.RecordingUrl(小部件语法)作为 function 的参数时

It is passing the literal strings but not the actual variable values它传递的是文字字符串而不是实际的变量值

Can anyone help:) please谁能帮忙:)请

Cheers, Alex干杯,亚历克斯

Try like this像这样尝试

{{widgets.record_voicemail_1.RecordingUrl}}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM