twitch-agent/TwitchEventSub/Types/ChannelSubscription/ChannelSubscribe.cs

14 lines
936 B
C#
Raw Normal View History

namespace TwitchEventSub.Types.ChannelSubscription
{
public class ChannelSubscribe : Event
{
public string user_id { get; set; } //The user ID for the user who subscribed to the specified channel.
public string user_login { get; set; } //The user login for the user who subscribed to the specified channel.
public string user_name { get; set; } //The user display name for the user who subscribed to the specified channel.
public string broadcaster_user_id { get; set; } //The requested broadcaster ID.
public string broadcaster_user_login { get; set; } //The requested broadcaster login.
public string broadcaster_user_name { get; set; } //The requested broadcaster display name.
public string tier { get; set; } //The tier of the subscription. Valid values are 1000, 2000, and 3000.
public bool is_gift { get; set; } //Whether the subscription is a gift.
}
}