OfficeDev / microsoft-teams-sample-complete-csharp

A template for building complex bots for Microsoft Teams - C# version
MIT License
102 stars 60 forks source link

"double" posting to emulator when attempting UpdateCardMsgDialog.cs #25

Closed ileonc closed 5 years ago

ileonc commented 5 years ago

Hi, I'm seeing a strange behaviour when the bot emulator runs the UpdateCardMsgSetupDialog.cs. The bot emulator shows two messages being posted - image The first <-message shows the correct timestamp and an ID: image

The second POST 200 shows no ID and a different timezone: image

It renders the card, the button renders but does nothing, and the text is there but cannot be changed. image I tried from the GIT example here and then pulled the code into a "clean" VS project and I still get the same symptoms. Can someone give me a hand? Or is this an easy fix?

ileonc commented 5 years ago

And I'm running it all on my local PC, no ngrok intervention. Thanks,

jotrick commented 5 years ago

Hi ileonc - this specific project is targeted at running the bot in the Teams app. There are some things that do work in the Emulator, but for certain things (specifically here with updating messages), they will only work in the Teams app. I would suggest getting your bot to work in the Teams app and looking at the functionality there.