Display Herocard in BotFramework

As the botframework evovles, many things are changing in the apis. I wanted to create a Herocard for a bot and the previously existed method wasn’t working, so i find the new way that one can reply herocards in the user. The main function needed is the

 

Full C# example

 

The result will look like that

 

This github repo is very useful as it includes many botframework samples.