Esempio n. 1
0
        public EventProcessor[] GetEventProcessors(
            string teamId,
            string channelId,
            SlackEventType slackEventType)
        {
            var result = new EventProcessor[0];

            if (_eventProcessors?.TeamConfigurations != null &&
                _eventProcessors.TeamConfigurations.TryGetValue(teamId, out var teamEventProcessors))
            {
                return(GetEventProcessorsForChannel(channelId, slackEventType, teamEventProcessors));
            }

            return(result);
        }