diff options
| author | ilotterytea <iltsu@alright.party> | 2024-05-03 22:53:55 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-05-03 22:53:55 +0500 |
| commit | d5a08922b8f22e4494fca0e28252f4b769649d64 (patch) | |
| tree | 71fef5066c436d7ba18735b227ca4600b226d10f /src/api/twitch/helix_client.hpp | |
| parent | 9bb97ad75e32d50a682571fa36bafa79f1e2d014 (diff) | |
feat: get_streams method
Diffstat (limited to 'src/api/twitch/helix_client.hpp')
| -rw-r--r-- | src/api/twitch/helix_client.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/api/twitch/helix_client.hpp b/src/api/twitch/helix_client.hpp index 2b5f4ea..27a9fa3 100644 --- a/src/api/twitch/helix_client.hpp +++ b/src/api/twitch/helix_client.hpp @@ -3,6 +3,7 @@ #include <string> #include <vector> +#include "schemas/stream.hpp" #include "schemas/user.hpp" namespace bot::api::twitch { @@ -18,6 +19,9 @@ namespace bot::api::twitch { std::vector<schemas::User> get_chatters(const int &broadcaster_id, const int &moderator_id) const; + std::vector<schemas::Stream> get_streams( + const std::vector<int> &ids) const; + private: std::vector<schemas::User> get_users_by_query( const std::string &query) const; |
