Example #1
0
        public IEnumerable <IMessage> GetLatestMessagesSent(int maximumMessages = TweetinviConsts.MESSAGE_GET_COUNT)
        {
            var parameter = new MessagesSentParameters
            {
                MaximumNumberOfMessagesToRetrieve = maximumMessages
            };

            var messagesDTO = _messageQueryExecutor.GetLatestMessagesSent(parameter);

            return(_messageFactory.GenerateMessagesFromMessagesDTO(messagesDTO));
        }
Example #2
0
        public IEnumerable <IMessage> GetLatestMessagesSent(int maximumMessages = TweetinviConsts.MESSAGE_GET_COUNT)
        {
            var messagesDTO = _messageQueryExecutor.GetLatestMessagesSent(maximumMessages);

            return(_messageFactory.GenerateMessagesFromMessagesDTO(messagesDTO));
        }
        public IEnumerable <IMessage> GetLatestMessagesSent(int maximumMessages = 40)
        {
            var messagesDTO = _messageQueryExecutor.GetLatestMessagesSent(maximumMessages);

            return(_messageFactory.GenerateMessagesFromMessagesDTO(messagesDTO));
        }