Boa noite,
Estou precisando usar a lista no messenger e estou seguindo a documentação (Blip Portal) ao tentar usar o respectivo json trocando o valor do “id” e “to” no meu bot a msg não retorna. Estou utilizado o SDK javascript.
Segue o Json
{
"id": Lime.Guid(),
"to": destinatario,
"type":"application/vnd.lime.list+json",
"content":{
"header":{
"type":"application/vnd.lime.web-link+json",
"value":{
"title":"Classic T-Shirt Collection",
"text":"See all our colors",
"previewUri":"https://peterssendreceiveapp.ngrok.io/img/collection.png",
"uri":"https://peterssendreceiveapp.ngrok.io/shop_collection?messengerExtensions=true",
"target":"selfTall"
}
},
"items":
{
"type":"application/vnd.lime.web-link+json",
"value":{
"title":"Classic White T-Shirt",
"text":"100% Cotton, 200% Comfortable",
"previewUri":"https://peterssendreceiveapp.ngrok.io/img/white-t-shirt.png",
"uri":"https://peterssendreceiveapp.ngrok.io/view?item=100&messengerExtensions=true",
"target":"selfTall"
}
},
{
"type":"application/vnd.lime.web-link+json",
"value":{
"title":"Classic Blue T-Shirt",
"text":"100% Cotton, 200% Comfortable",
"previewUri":"https://peterssendreceiveapp.ngrok.io/img/blue-t-shirt.png",
"uri":"https://peterssendreceiveapp.ngrok.io/view?item=101&messengerExtensions=true",
"target":"selfTall"
}
},
{
"type":"application/vnd.lime.web-link+json",
"value":{
"title":"Classic Black T-Shirt",
"text":"100% Cotton, 200% Comfortable",
"previewUri":"https://peterssendreceiveapp.ngrok.io/img/black-t-shirt.png",
"uri":"https://peterssendreceiveapp.ngrok.io/view?item=102&messengerExtensions=true",
"target":"selfTall"
}
}
]
}