/// <summary>
        /// Initializes a new instance of the <see cref="DraftNotificationPreviewService"/> class.
        /// </summary>
        /// <param name="botOptions">The bot options.</param>
        /// <param name="adaptiveCardCreator">Adaptive card creator service.</param>
        /// <param name="diConnectBotAdapter">Bot framework HTTP adapter instance.</param>
        public DraftNotificationPreviewService(
            IOptions <BotOptions> botOptions,
            AdaptiveCardCreator adaptiveCardCreator,
            DIConnectBotAdapter diConnectBotAdapter)
        {
            this.botAppId = botOptions.Value.MicrosoftAppId;
            if (string.IsNullOrEmpty(this.botAppId))
            {
                throw new ApplicationException("MicrosoftAppId setting is missing in the configuration.");
            }

            this.adaptiveCardCreator = adaptiveCardCreator;
            this.diConnectBotAdapter = diConnectBotAdapter;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="BotController"/> class.
 /// Dependency Injection will provide the Adapter and IBot implementation at runtime.
 /// </summary>
 /// <param name="adapter">DI Connect Bot Adapter instance.</param>
 /// <param name="bot">DI Connect Bot instance.</param>
 public BotController(DIConnectBotAdapter adapter, IBot bot)
 {
     this.adapter = adapter;
     this.bot     = bot;
 }