public IEnumerable <IMessage> GetLatestMessagesReceived(int maximumMessages = TweetinviConsts.MESSAGE_GET_COUNT) { var parameter = new MessagesReceivedParameters { MaximumNumberOfMessagesToRetrieve = maximumMessages }; var messagesDTO = _messageQueryExecutor.GetLatestMessagesReceived(parameter); return(_messageFactory.GenerateMessagesFromMessagesDTO(messagesDTO)); }
public IEnumerable <IMessage> GetLatestMessagesReceived(int maximumMessages = TweetinviConsts.MESSAGE_GET_COUNT) { var messagesDTO = _messageQueryExecutor.GetLatestMessagesReceived(maximumMessages); return(_messageFactory.GenerateMessagesFromMessagesDTO(messagesDTO)); }
public IEnumerable <IMessage> GetLatestMessagesReceived(int maximumMessages = 40) { var messagesDTO = _messageQueryExecutor.GetLatestMessagesReceived(maximumMessages); return(_messageFactory.GenerateMessagesFromMessagesDTO(messagesDTO)); }