about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp5
-rw-r--r--src/client.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index e16e30b..ccfd9a3 100644 --- a/src/client.cpp +++ b/src/client.cpp
@@ -376,6 +376,11 @@ namespace twitter {
376 .perform()); 376 .perform());
377 } 377 }
378 378
379 tweet client::replyToTweet(std::string msg, const tweet& in_response_to, std::list<long> media_ids) const
380 {
381 return replyToTweet(msg, in_response_to.getID(), media_ids);
382 }
383
379 long client::uploadMedia(std::string media_type, const char* data, long data_length) const try 384 long client::uploadMedia(std::string media_type, const char* data, long data_length) const try
380 { 385 {
381 curl::curl_form form; 386 curl::curl_form form;
diff --git a/src/client.h b/src/client.h index 2230dbb..c920f82 100644 --- a/src/client.h +++ b/src/client.h
@@ -29,6 +29,7 @@ namespace twitter {
29 long uploadMedia(std::string media_type, const char* data, long data_length) const; 29 long uploadMedia(std::string media_type, const char* data, long data_length) const;
30 30
31 tweet replyToTweet(std::string msg, tweet_id in_response_to, std::list<long> media_ids = {}) const; 31 tweet replyToTweet(std::string msg, tweet_id in_response_to, std::list<long> media_ids = {}) const;
32 tweet replyToTweet(std::string msg, const tweet& in_response_to, std::list<long> media_ids = {}) const;
32 33
33 std::set<user_id> getFriends(user_id id) const; 34 std::set<user_id> getFriends(user_id id) const;
34 std::set<user_id> getFriends(const user& u) const; 35 std::set<user_id> getFriends(const user& u) const;