Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Hello @Office
I tested this behavior on my side and the same issue with Action.ToggleVisibility happened.
As a workaround, I replaced the Reply button with Action.ShowCard (including the input field inside), and it works correctly in my testing environment, including on iOS. Could you please try this approach and see if it meets your requirements?
{
"type": "Action.ShowCard",
"title": "Reply",
"iconUrl": "icon:Comment",
"style": "positive",
"card": {
"type": "AdaptiveCard",
"body": [
{
"type": "Input.Text",
"id": "replyMessage",
"placeholder": "type your message...",
"isMultiline": true,
"label": "Reply",
"isRequired": true,
"errorMessage": "Type a message to send!"
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Send",
"data": {
"replyTo": "Test"
},
"iconUrl": "icon:Send",
"style": "positive",
"id": "SendMessage",
"associatedInputs": "auto"
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5"
}
}
Regarding the issue with ToggleVisibility, I recommend submitting feedback on Feedback portal https://feedbackportal.microsoft.com/feedback/forum/ad198462-1c1c-ec11-b6e7-0022481f8472 and, if possible, creating a support ticket via the Microsoft 365 admin center so the product team can investigate further.
Since this is a user-to-user support forum, moderators aren’t Microsoft Support and don’t have backend access to Microsoft systems. As a result, we’re unable to directly escalate or resolve product issues. We can only share guidance and possible workarounds based on testing and community experience.
Hope this helps and looking forward to your reply.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.