[ad_1]
I am constructing a Microsoft Groups bot with Compose Extension (Search extension) performance. As quickly because the person opens the search extension it fetches outcomes from the backend. I am utilizing thumbnail playing cards to indicate the outcome record. I’ve additionally added faucet performance into thumbnail playing cards. Which means when a person selects a outcome a backend name invoke name will likely be triggered with some particular knowledge and with that knowledge I construct an adaptive card.
This function works properly in Groups mac, net, and android apps. However with the native iOS app, the invoke name is rarely triggered when a person selects a outcome. As an alternative, it sends a thumbnail card on the Groups compose space.
That is the response I am constructing for the Search extension
{
"composeExtension": {
"kind": "outcome",
"attachmentLayout": "record",
"attachments": [
{
"contentType": "application/vnd.microsoft.card.thumbnail",
"content": {
"images": [
{
"url": "https://localhost:8080/Public/img3-a68ff7.jpeg"
}
],
"subtitle": "Thumbnail card subtitle",
"faucet": {
"kind": "invoke",
"worth": {
"kind": "IDEA_SELECT_CALLBACK",
"selectedItemId": 7082
}
},
"textual content": "Thumbnail card textual content",
"title": "Title"
}
}
]
}
}
picture from ios the place a thumbnail card is thrown in compose space
[ad_2]
