HoloBot icon indicating copy to clipboard operation
HoloBot copied to clipboard

New Azure Bot Service support

Open deadlyfingers opened this issue 6 years ago • 1 comments

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; }
}

deadlyfingers avatar Mar 09 '18 10:03 deadlyfingers

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.

ActiveNick avatar Dec 03 '19 20:12 ActiveNick