Example #1
0
        private static Card GetNewCard(List <string> lastTextIds, string intentionId)
        {
            var card = ProxyHelper.SendRequest <List <Card> >("popular/TestBot", "IdeasOfTheDay", HttpMethod.Get, "forRecipient", "BotFriends", "andIntention", intentionId, new KeyValuePair <string, string>("nbcards", "1"));

            return(card.LastOrDefault());
        }