about summary refs log tree commit diff stats
path: root/src/client.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-12-01 08:49:01 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-12-01 08:49:01 -0500
commitd783c17151a98466e304b1e5f33bfca0be885fd8 (patch)
tree0ae46f492a7c4bee9f9ec3d95f997b8421f0eca2 /src/client.cpp
parent7c44fd17bb6be54a2ea4b60761e91053ca988977 (diff)
downloadlibtwittercpp-d783c17151a98466e304b1e5f33bfca0be885fd8.tar.gz
libtwittercpp-d783c17151a98466e304b1e5f33bfca0be885fd8.tar.bz2
libtwittercpp-d783c17151a98466e304b1e5f33bfca0be885fd8.zip
Added a convenience overload to client::replyToTweet
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp5
1 files changed, 5 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;