summaryrefslogtreecommitdiff
path: root/src/api/twitch/helix_client.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-05-02 00:11:09 +0500
committerilotterytea <iltsu@alright.party>2024-05-02 00:11:09 +0500
commit0e20d75f3dcd12cc0c66c321684eadbed1513a9f (patch)
treec5a2c511d6453fe493b667525d3ed625c03156d9 /src/api/twitch/helix_client.hpp
parent64ee8f8e7639c1e84a7e68d45e2aceec5299a4d6 (diff)
feat: method for getting chatter list
Diffstat (limited to 'src/api/twitch/helix_client.hpp')
-rw-r--r--src/api/twitch/helix_client.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/api/twitch/helix_client.hpp b/src/api/twitch/helix_client.hpp
index fedec7f..2b5f4ea 100644
--- a/src/api/twitch/helix_client.hpp
+++ b/src/api/twitch/helix_client.hpp
@@ -15,6 +15,9 @@ namespace bot::api::twitch {
const std::vector<std::string> &logins) const;
std::vector<schemas::User> get_users(const std::vector<int> &ids) const;
+ std::vector<schemas::User> get_chatters(const int &broadcaster_id,
+ const int &moderator_id) const;
+
private:
std::vector<schemas::User> get_users_by_query(
const std::string &query) const;