From d5a08922b8f22e4494fca0e28252f4b769649d64 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Fri, 3 May 2024 22:53:55 +0500 Subject: feat: get_streams method --- src/api/twitch/helix_client.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/api/twitch/helix_client.hpp') 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 #include +#include "schemas/stream.hpp" #include "schemas/user.hpp" namespace bot::api::twitch { @@ -18,6 +19,9 @@ namespace bot::api::twitch { std::vector get_chatters(const int &broadcaster_id, const int &moderator_id) const; + std::vector get_streams( + const std::vector &ids) const; + private: std::vector get_users_by_query( const std::string &query) const; -- cgit v1.2.3