前言
我們使用 offline_dl 來達到使用 botframework 開發全地端的 Chatbot (使用 Microsoft Bot Framework 地端的 WebChat 機器人(企業內)).
我們想要在 offline_dl 中去驗證由 Bot 送過來的訊息是否可靠,所以想在 Bot 發送訊息時 (Conversations.ReplyToActivityAsync or DialogContext.PostAsync),多加入一個 Header 的資料,來讓 offline_dl 中可以去驗證。