Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ChannelVIP.cs #27

Merged
merged 2 commits into from
Apr 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelVIP.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel;

/// <summary>
/// Channel VIP subscription type model (for VIP Add and Remove)
/// <para>Description:</para>
/// <para>VIP was added to/removed from a user on a specified channel.</para>
/// </summary>
public sealed class ChannelVIP
Hampo marked this conversation as resolved.
Show resolved Hide resolved
{
/// <summary>
/// The user ID of the new/removed moderator.
/// </summary>
public string UserId { get; set; } = string.Empty;
/// <summary>
/// The display name of the new/removed moderator.
/// </summary>
public string UserName { get; set; } = string.Empty;
/// <summary>
/// The user login of the new/removed moderator.
/// </summary>
public string UserLogin { get; set; } = string.Empty;
/// <summary>
/// The requested broadcaster ID.
/// </summary>
public string BroadcasterUserId { get; set; } = string.Empty;
/// <summary>
/// The requested broadcaster display name.
/// </summary>
public string BroadcasterUserName { get; set; } = string.Empty;
/// <summary>
/// The requested broadcaster login.
/// </summary>
public string BroadcasterUserLogin { get; set; } = string.Empty;
}
Loading