本文介绍了液体模板语言 Twilio Studio 变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有谁知道我如何将液体模板语言变量分配给小部件变量?
Does anyone know how I can assign liquid template language variables to widget variables?
{% assign name='{{widgets.send_and_reply_3.inbound.Body}}'%}
这似乎不起作用.我已经删除了 ''
并且这也不起作用.提前致谢!
This does not seem to work. I have removed the ''
and that does not work either. Thanks in advance!
推荐答案
Twilio 开发人员布道者在这里.
Twilio developer evangelist here.
在其他液体标签中使用小部件变量时,您不需要包含 {
或 }
括号.所以这应该适合你:
When using widget variables within other liquid tags you don't need to include the {
or }
brackets. So this should work for you:
{% assign name = widgets.send_and_reply_3.inbound.Body %}
这篇关于液体模板语言 Twilio Studio 变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!