[英]How to work Facebook Messenger bot generic template sharable
sharable
功能中的實際Messenger將如何處理?
我無法理解本地共享按鈕(PC和移動設備)中的更改。
我想知道sharable
設置的變化。
設置值沒有變化(見圖)。
樣品要求:
{
"recipient":{
"id":"<PSID>"
},
"message":{
"attachment":{
"type":"template",
"payload":{
"template_type":"generic",
***"sharable":true or false,***
"elements":[
{
"title":"Welcome to Peter\'s Hats",
"image_url":"https://petersfancybrownhats.com/company_image.png",
"subtitle":"We\'ve got the right hat for everyone.",
"buttons":[
{
"type":"web_url",
"url":"https://petersfancybrownhats.com",
"title":"View Website"
},{
"type":"postback",
"title":"Start Chatting",
"payload":"DEVELOPER_DEFINED_PAYLOAD"
}
]
}
]
}
}
}
}
自我解決。
如果元素按鈕的按鈕類型為回發或共享,則不可共享。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.