From 515c498b0fad39b1b8f89539303de222163b2e3c Mon Sep 17 00:00:00 2001 From: Alex Acebo Date: Thu, 18 Jan 2024 11:25:34 -0800 Subject: [PATCH] Update BotController.cs --- .../Controllers/BotController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dotnet/samples/02.messageExtensions.a.searchCommand/Controllers/BotController.cs b/dotnet/samples/02.messageExtensions.a.searchCommand/Controllers/BotController.cs index d4c14e74c..3ffb14dc5 100644 --- a/dotnet/samples/02.messageExtensions.a.searchCommand/Controllers/BotController.cs +++ b/dotnet/samples/02.messageExtensions.a.searchCommand/Controllers/BotController.cs @@ -1,6 +1,6 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.Bot.Builder; -using Microsoft.Bot.Builder.Integration.AspNet.Core; +using Microsoft.Teams.AI; namespace SearchCommand.Controllers { @@ -8,10 +8,10 @@ namespace SearchCommand.Controllers [ApiController] public class BotController : ControllerBase { - private readonly CloudAdapter _adapter; + private readonly TeamsAdapter _adapter; private readonly IBot _bot; - public BotController(CloudAdapter adapter, IBot bot) + public BotController(TeamsAdapter adapter, IBot bot) { _adapter = adapter; _bot = bot;