public SlackEventsMiddleware( RequestDelegate next, SlackEndpointConfiguration configuration, ISlackEvents slackEvents, ISlackBlockActions slackBlockActions, ISlackBlockOptions slackBlockOptions, ISlackInteractiveMessages slackInteractiveMessages, ISlackMessageActions slackMessageActions, ISlackOptions slackOptions, IDialogSubmissionHandler dialogSubmissionHandler, SlackJsonSettings jsonSettings) { _next = next; _configuration = configuration; _slackEvents = slackEvents; _slackBlockActions = slackBlockActions; _slackBlockOptions = slackBlockOptions; _slackInteractiveMessages = slackInteractiveMessages; _slackMessageActions = slackMessageActions; _slackOptions = slackOptions; _dialogSubmissionHandler = dialogSubmissionHandler; _jsonSettings = jsonSettings; }
public SlackRequestHandler( ISlackEvents slackEvents, ISlackBlockActions slackBlockActions, ISlackBlockOptions slackBlockOptions, ISlackInteractiveMessages slackInteractiveMessages, ISlackMessageActions slackMessageActions, ISlackOptions slackOptions, IDialogSubmissionHandler dialogSubmissionHandler, ISlackViews slackViews, ISlackSlashCommands slackSlashCommands, SlackJsonSettings jsonSettings) { _slackEvents = slackEvents; _slackBlockActions = slackBlockActions; _slackBlockOptions = slackBlockOptions; _slackInteractiveMessages = slackInteractiveMessages; _slackMessageActions = slackMessageActions; _slackOptions = slackOptions; _dialogSubmissionHandler = dialogSubmissionHandler; _slackViews = slackViews; _slackSlashCommands = slackSlashCommands; _jsonSettings = jsonSettings; }