public MessageResponse GetTopConversations() { var jsonObj = _client.Get<JObject>("messages/algo.json"); var result = new MessageResponse(jsonObj); return result; }
public MessageResponse GetSentMessages() { var jsonObj = _client.Get<JObject>("messages/sent.json"); var result = new MessageResponse(jsonObj); return result; }
public MessageResponse GetReceivedMessages() { var jsonObj = _client.Get<JObject>("messages/received.json"); var result = new MessageResponse(jsonObj); return result; }
public MessageResponse GetMyFeed() { var jsonObj = _client.Get<JObject>("messages/my_feed.json"); var result = new MessageResponse(jsonObj); return result; }
public MessageResponse GetFollowedConversations() { var jsonObj = _client.Get<JObject>("messages/following.json"); var result = new MessageResponse(jsonObj); return result; }
public MessageResponse Post(string message, List<KeyValuePair<string, string>> openGraphProperties) { var postData = new List<KeyValuePair<string, string>> { new KeyValuePair<string, string>("body", message) }; postData.AddRange(openGraphProperties); var jsonObj = _client.Post<JObject>("messages.json", postData); var result = new MessageResponse(jsonObj); return result; }
public MessageResponse Post(string message) { var postData = new List<KeyValuePair<string, string>> { new KeyValuePair<string, string>("body", message) }; var jsonObj = _client.Post<JObject>("messages.json", postData); var result = new MessageResponse(jsonObj); return result; }