Ejemplo n.º 1
0
        public string GetLatestMessagesSentQuery(int maximumMessages)
        {
            var parameter = new MessagesSentParameters
            {
                MaximumNumberOfMessagesToRetrieve = maximumMessages
            };

            return GetLatestMessagesSentQuery(parameter);
        }
Ejemplo n.º 2
0
        public static void Message_GetLatests()
        {
            // Messages Received
            var latestMessagesReceived = Message.GetLatestMessagesReceived();
            var latestMessagesReceivedParameter = new MessagesReceivedParameters();
            latestMessagesReceivedParameter.SinceId = 10029230923;
            var latestMessagesReceivedFromParameter = Message.GetLatestMessagesReceived(latestMessagesReceivedParameter);

            // Messages Sent
            var latestMessagesSent = Message.GetLatestMessagesSent();
            var latestMessagesSentParameter = new MessagesSentParameters();
            latestMessagesSentParameter.PageNumber = 239823;
            var latestMessagesSentFromParameter = Message.GetLatestMessagesSent(latestMessagesSentParameter);
        }