MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
285 stars 506 forks source link

Parameter MessagingExtensionQuery always returns just first CommandId from manifest #11727

Open ChetanSharma-msft opened 3 hours ago

ChetanSharma-msft commented 3 hours ago

Steps to reproduce

Copied from: https://github.com/microsoft/botbuilder-dotnet/issues/6465 Posted by: @harald-thoenig

I'm using Microsoft Bot Framework V4 SDK to create a messaging extension bot.

I created two commands (searchQuery, processQuery). I would like to call up a configuration page for each command. The problem is that the MessagingExtensionQuery parameter in the OnTeamsMessagingExtensionConfigurationQuerySettingUrlAsync event always returns just the first command Id, I entered in the manifest.

I would have expected that when I click on the 3 dots to open the configuration page, the respective ID of the command would be passed to the event. image

image

Messaging extension bot ConfigurationPage Manifest

Hope you can help. regads

Expected behavior

I would have expected that when I click on the 3 dots to open the configuration page, the respective ID of the command would be passed to the event.

Actual behavior

I created two commands (searchQuery, processQuery). I would like to call up a configuration page for each command. The problem is that the MessagingExtensionQuery parameter in the OnTeamsMessagingExtensionConfigurationQuerySettingUrlAsync event always returns just the first command Id, I entered in the manifest.

Error details

No response

microsoft-github-policy-service[bot] commented 3 hours ago

Hi ChetanSharma-msft! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

sayali-MSFT commented 1 hour ago

@harald-thoenig-Thanks for reporting your issue. We will check this at our end and will get back to you.