Ejemplo n.º 1
0
        public async Task <IEnumerable <SlackMessage> > GetHistory(SlackChatHub slackChatHub, int count)
        {
            var infoClient = _connectionFactory.CreateInfoClient(_hubCache, _userCache);

            return(await _connectionFactory.CreateHistoryClient(infoClient).GetChatHubHistory(SlackKey, slackChatHub, count));
        }