Ejemplo n.º 1
0
 public SlackEventsMiddleware(
     RequestDelegate next,
     SlackEndpointConfiguration configuration,
     ISlackEvents slackEvents,
     ISlackActions slackActions,
     ISlackOptions slackOptions,
     IDialogSubmissionHandler dialogSubmissionHandler,
     SlackJsonSettings jsonSettings)
 {
     _next                    = next;
     _configuration           = configuration;
     _slackEvents             = slackEvents;
     _slackActions            = slackActions;
     _slackOptions            = slackOptions;
     _dialogSubmissionHandler = dialogSubmissionHandler;
     _jsonSettings            = jsonSettings;
 }
Ejemplo n.º 2
0
 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;
 }