twitch-agent/TwitchEventSub/Types/EventSubSubscription/Subscription.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

25 lines
1.1 KiB
C#
Raw Permalink 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.

using System;
namespace TwitchEventSub.Types.EventSubSubscription
{
public class Subscription
{
public string id { get; set; } //Your client ID.
public string type { get; set; } //The notifications subscription type.
public string version { get; set; } //The version of the subscription.
public string status { get; set; } //The status of the subscription.
public int cost { get; set; } //How much the subscription counts against your limit. See Subscription Limits for more information.
public Conditions.Condition condition { get; set; } //Subscription-specific parameters.
public string created_at { get; set; } //The tChannelPointsime the notification was created.
}
internal class UnrefinedSubscription
{
public string id { get; set; }
public string type { get; set; }
public string version { get; set; }
public string status { get; set; }
public int cost { get; set; }
public string condition { get; set; }
public string created_at { get; set; }
}
}