/// <summary>
 /// Конструктор контроллера
 /// </summary>
 /// <param name="usersesService"></param>
 /// <param name="bfService"></param>
 /// <param name="configuration"></param>
 public MessagesController(IUsersService usersesService, IBotFramework bfService, IConfigurationRoot configuration)
 {
     _configuration  = configuration;
     _appCredentials = new MicrosoftAppCredentials(this._configuration);
     _usersService   = usersesService;
     _bfService      = bfService;
 }
Exemple #2
0
 public BotService(IBotFramework bot)
 {
     _bot = bot;
 }