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)); }