ActiveNick / HoloBot

HoloBot is a reusable 3D interface that allows HoloLens & VR users to interact with any bot using Mixed Reality & Speech.
MIT License
124 stars 52 forks source link

New Azure Bot Service support #10

Open deadlyfingers opened 6 years ago

deadlyfingers commented 6 years ago

With bots created with the new Azure Bot Service there seems to be an exception in the SendMessage response. I believe this is something to do with the Activity. A quick workaround for now (until a fix is ready) is to send a BasicActivity instead.

public class BasicActivity
{
  public string type { get; set; }
  public UserAccount from { get; set; }
  public string text { get; set; }
  public string id { get; set; }
  public string replyToId { get; set; }
}
ActiveNick commented 4 years ago

Thanks David. late comment but you are correct and this is actually what I ran into when talking to a Node.js bot hosted in Azure Bot Service back in November when you and I chatted about this. I am working to integrate this in the new branch right now. I will close out the issue when it's done and posted.