Forum Discussion
Sean17
Apr 10, 2024Copper Contributor
Do I really need an Azure Bot to display a dialog with an embedded web view via messaging extension?
I have created a messaging extension that prompts a dialog with embedded web view, and it is working as expected. For my application use case, all user interactions will take place within the embedde...
Sean17
Apr 15, 2024Copper Contributor
Hi vikram-MFST.
I've already explored the sample you gave. From what I understand so far, it utilizes Azure Bot, which I've previously tested and it is working well for both adding a message action in the context menu/overflow menu and displaying a dialog with an embedded web view. However, I would like to know if there's an alternative approach where I can achieve the same functionality without relying on the Azure Bot.
The reason for this is because my Head of Architecture questions the necessity of using the Azure Bot solely for adding a "button"(first image) upon click, will display the dialog with the embedded web view (second image) and it does nothing else.
ā
I have gone through the documentation that I can find, and it seems doing these without Azure Bot might not be possible. I would appreciate your advice on this.
vikram-MFST
Apr 16, 2024Former Employee
Hello Sean17
could you please refer this sample:
https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/msgext-action-preview/csharp/Bots/TeamsMessagingExtensionsActionPreviewBot.cs
could you please refer this sample:
https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/msgext-action-preview/csharp/Bots/TeamsMessagingExtensionsActionPreviewBot.cs