What platform is your issue or question related to? (Delete other platforms).
External bot app sending message to MS Teams channel
framework: netcoreapp3.0
We are working on a cross platform bot. Adaptive card with buttons doesn't seems to respond in MS Teams when used in iOS mobile. There is no response from bot at all.
The issue doesn't appear in Android devices.
Thanks @shaikShehanaaz for reaching out. Are you able to share the card json that you are sending up to the bot? @VikrantSingh01 / @siduppal could you help take a first stab at this please to help me understand how this could be an AdaptiveCards issue?
@shalinijoshi19
Here is the Json paylod, some of the text is modified run-time:
{
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "Container",
"items": [
{
"type": "TextBlock",
"text": "<heading>",
"wrap": true
}
]
},
{
"type": "Container",
"items": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "<Option1>",
"horizontalAlignment": "Center",
"weight": "Light",
"separator": true,
"color": "Accent"
}
],
"id": "1",
"selectAction": {
"type": "Action.Submit",
"title": "actionButton",
"data": {
"msteams": {
"type": "imBack",
"value": "{3}"
}
}
},
"horizontalAlignment": "Center",
"style": "emphasis"
},
{
"type": "Column",
"width": "stretch",
"separator": true,
"items": [
{
"type": "TextBlock",
"text": "<Option2>",
"horizontalAlignment": "Center",
"weight": "Light",
"separator": true,
"color": "Accent"
}
],
"id": "2",
"selectAction": {
"type": "Action.Submit",
"title": "actionButton",
"data": {
"msteams": {
"type": "imBack",
"value": "{4}"
}
}
},
"horizontalAlignment": "Center",
"style": "emphasis"
}
]
}
]
}
],
"$schema": "http:adaptivecards.ioschemasadaptive-card.json"
}
This looks like something to do with the keyword "msteams" in the "data" object on the Teams iOS app side.
cc- @Aditya0603 @nesalang
@VikrantSingh01 can you take a look from mobile perspective?
This looks like a bug on Teams iOS app and not on the SDK. We are working on the fix, it should be available in the next release.
cc- @VikrantSingh01 @Aditya0603
@nesalang check if we can close it.
@shaikShehanaaz can you let us know if this is still an issue for you?
Going ahead closing this. Please reactivate if this is still repro'ing for you with the latest Teams iOS app.
Most helpful comment
This looks like a bug on Teams iOS app and not on the SDK. We are working on the fix, it should be available in the next release.
cc- @VikrantSingh01 @Aditya0603