[英]How to work Facebook Messenger bot generic template sharable
What happens to the actual messenger in the sharable
feature? sharable
功能中的实际Messenger将如何处理?
I can not understand the change in the native share button (both PC and mobile). 我无法理解本地共享按钮(PC和移动设备)中的更改。
I would like to know what the sharable
setting changes. 我想知道
sharable
设置的变化。
There is no change in setting values (see image). 设置值没有变化(见图)。
Sample request: 样品要求:
{
"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"
}
]
}
]
}
}
}
}
self solved. 自我解决。
If the button type of the element button is postback or share, sharable does not work. 如果元素按钮的按钮类型为回发或共享,则不可共享。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.