twitch-agent/TwitchEventSub/Types/StreamActivity.cs
Adam R. Grey 3f717df1d4 psuedoinitial
actually I had a previous repo but my dumb ass let the real appsettings sneak in
2021-10-24 01:13:07 -04:00

17 lines
762 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace TwitchEventSub.Types
{
public class StreamActivity : Event
{
public string broadcaster_user_id { get; set; } //The broadcasters user id.
public string broadcaster_user_login { get; set; } //The broadcasters user login.
public string broadcaster_user_name { get; set; } //The broadcasters user display name.
}
public class StreamOffline : StreamActivity {}
public class StreamOnline : StreamActivity
{
public string id { get; set; } //The id of the stream.
public string type { get; set; } //The stream type. Valid values are: live, playlist, watch_party, premiere, rerun.
public string started_at { get; set; } //The timestamp at which the stream went online at.
}
}