Teams V2 messaging extension started from commandbox has no context (URL placeholder are not replaced with values) #6775
Labels
Area: Teams
The issue is related to Teams support
bug
Indicates an unexpected problem or an unintended behavior.
needs-triage
The issue has just been created and it has not been reviewed by the team.
Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
V4.22.3
Describe the bug
I have a problem with my existing Teams messaging extension in Teams V2. With the old teams everything runs perfectly.
I have a messaging extension using the Bot Framework. Actions are defined which can be triggered from message and command box. On my server I did override OnTeamsMessagingExtensionFetchTaskAsync and created a MessagingExtensionActionResponse with a URL that includes placeholders, like {groupId} and {channelId}.
The messaging extension works fine when I use the old teams client (web or windows app). But if I switch to Teams V2 the placeholders are only replaced with values when the messaging extension is triggered from the message. If it is triggered from commandbox the placeholders are not replaced.
Expected behavior
Placeholder should be replaced with values when the messaging extension is triggered from message AND commandbox
The text was updated successfully, but these errors were encountered: