about summary refs log tree commit diff stats
path: root/src/client.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-08-05 11:21:11 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-08-05 11:21:11 -0400
commit826961600aa23645ff9200e2c1802779eb68d835 (patch)
tree5392c90628cd559b00f4908028bd987f2a045b3a /src/client.h
parent38203b745ae1903ba0804ed5532b78d255bea635 (diff)
parent3e292e37a1313e22f13ef4b7f342c6002ea6a947 (diff)
downloadlibtwittercpp-826961600aa23645ff9200e2c1802779eb68d835.tar.gz
libtwittercpp-826961600aa23645ff9200e2c1802779eb68d835.tar.bz2
libtwittercpp-826961600aa23645ff9200e2c1802779eb68d835.zip
Merge branch 'master' of https://github.com/hatkirby/libtwittercpp
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h index c0a63eb..5e2ab1c 100644 --- a/src/client.h +++ b/src/client.h
@@ -23,6 +23,7 @@ namespace twitter {
23 long uploadMedia(std::string media_type, const char* data, long data_length) const; 23 long uploadMedia(std::string media_type, const char* data, long data_length) const;
24 24
25 tweet replyToTweet(std::string msg, tweet_id in_response_to, std::list<long> media_ids = {}) const; 25 tweet replyToTweet(std::string msg, tweet_id in_response_to, std::list<long> media_ids = {}) const;
26 tweet replyToTweet(std::string msg, const tweet& in_response_to, std::list<long> media_ids = {}) const;
26 27
27 std::set<user_id> getFriends(user_id id) const; 28 std::set<user_id> getFriends(user_id id) const;
28 std::set<user_id> getFriends(const user& u) const; 29 std::set<user_id> getFriends(const user& u) const;
@@ -32,6 +33,8 @@ namespace twitter {
32 std::set<user_id> getFollowers(const user& u) const; 33 std::set<user_id> getFollowers(const user& u) const;
33 std::set<user_id> getFollowers() const; 34 std::set<user_id> getFollowers() const;
34 35
36 std::set<user_id> getBlocks() const;
37
35 void follow(user_id toFollow) const; 38 void follow(user_id toFollow) const;
36 void follow(const user& toFollow) const; 39 void follow(const user& toFollow) const;
37 40