public BotActionContextInitBehavior( IBotActionContextAccessor botContextAccessor, IBotUserProvider botUserProvider) { _botContextAccessor = botContextAccessor; _botUserProvider = botUserProvider; }
public HandleActionExceptionsBehavior( IBotActionContextAccessor contextAccessor, IMessageLocalizer <BotResources> localizer, ITransport <SendTelegramReply> reply) { _contextAccessor = contextAccessor; _localizer = localizer; _reply = reply; }
public AuthorizeBotActionRequestBehavior( IOptions <BotFeatureOptions> optionsProvider, ILogger <AuthorizeBotActionRequestBehavior <TRequest, TResult> > logger, IBotActionContextAccessor contextAccessor, IRequestHandlerFinder handlerFinder) { _optionsProvider = optionsProvider; _logger = logger; _contextAccessor = contextAccessor; _handlerFinder = handlerFinder; }