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/schemas/stream.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/api/twitch/schemas/stream.hpp (limited to 'src/api/twitch/schemas/stream.hpp') diff --git a/src/api/twitch/schemas/stream.hpp b/src/api/twitch/schemas/stream.hpp new file mode 100644 index 0000000..ea380db --- /dev/null +++ b/src/api/twitch/schemas/stream.hpp @@ -0,0 +1,9 @@ +#pragma once + +#include +namespace bot::api::twitch::schemas { + struct Stream { + int user_id; + std::string user_login, game_name, title, started_at; + }; +} -- cgit v1.2.3