From f9c81c705d55784a7022b621ddc87c87004488a8 Mon Sep 17 00:00:00 2001 From: Syzuna Date: Sat, 18 Nov 2023 20:23:14 +0100 Subject: [PATCH] sealed appropiate classes --- .../Models/ChannelPoints/GlobalCooldownSettings.cs | 2 +- .../Models/ChannelPoints/MaxAmountSettings.cs | 2 +- .../Models/ChannelPoints/RedemptionReward.cs | 2 +- TwitchLib.EventSub.Core/Models/Charity/CharityAmount.cs | 2 +- TwitchLib.EventSub.Core/Models/Extensions/BitsProduct.cs | 2 +- .../Models/HypeTrain/HypeTrainContribution.cs | 2 +- TwitchLib.EventSub.Core/Models/Polls/PollChoice.cs | 2 +- TwitchLib.EventSub.Core/Models/Polls/PollVotingSettings.cs | 2 +- .../Models/Predictions/PredictionOutcomes.cs | 2 +- TwitchLib.EventSub.Core/Models/Predictions/Predictor.cs | 2 +- .../Models/Subscriptions/SubscriptionMessage.cs | 2 +- .../Models/Subscriptions/SubscriptionMessageEmote.cs | 2 +- .../SubscriptionTypes/Channel/ChannelAdBreakBegin.cs | 2 +- TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelBan.cs | 2 +- .../SubscriptionTypes/Channel/ChannelCharityCampaignDonate.cs | 2 +- .../SubscriptionTypes/Channel/ChannelCharityCampaignProgress.cs | 2 +- .../SubscriptionTypes/Channel/ChannelCharityCampaignStart.cs | 2 +- .../SubscriptionTypes/Channel/ChannelCharityCampaignStop.cs | 2 +- .../SubscriptionTypes/Channel/ChannelCheer.cs | 2 +- .../SubscriptionTypes/Channel/ChannelFollow.cs | 2 +- .../SubscriptionTypes/Channel/ChannelGoalBegin.cs | 2 +- .../SubscriptionTypes/Channel/ChannelGoalEnd.cs | 2 +- .../SubscriptionTypes/Channel/ChannelGoalProgress.cs | 2 +- .../SubscriptionTypes/Channel/ChannelGuestStarGuestUpdate.cs | 2 +- .../SubscriptionTypes/Channel/ChannelGuestStarSessionBegin.cs | 2 +- .../SubscriptionTypes/Channel/ChannelGuestStarSessionEnd.cs | 2 +- .../SubscriptionTypes/Channel/ChannelGuestStarSettingsUpdate.cs | 2 +- .../SubscriptionTypes/Channel/ChannelModerator.cs | 2 +- .../SubscriptionTypes/Channel/ChannelPointsCustomReward.cs | 2 +- .../Channel/ChannelPointsCustomRewardRedemption.cs | 2 +- .../SubscriptionTypes/Channel/ChannelPollBegin.cs | 2 +- .../SubscriptionTypes/Channel/ChannelPollEnd.cs | 2 +- .../SubscriptionTypes/Channel/ChannelPollProgress.cs | 2 +- .../SubscriptionTypes/Channel/ChannelPredictionBegin.cs | 2 +- .../SubscriptionTypes/Channel/ChannelPredictionEnd.cs | 2 +- .../SubscriptionTypes/Channel/ChannelPredictionLock.cs | 2 +- .../SubscriptionTypes/Channel/ChannelPredictionProgress.cs | 2 +- .../SubscriptionTypes/Channel/ChannelRaid.cs | 2 +- .../SubscriptionTypes/Channel/ChannelShieldModeBegin.cs | 2 +- .../SubscriptionTypes/Channel/ChannelShieldModeEnd.cs | 2 +- .../SubscriptionTypes/Channel/ChannelShoutoutCreate.cs | 2 +- .../SubscriptionTypes/Channel/ChannelShoutoutReceive.cs | 2 +- .../SubscriptionTypes/Channel/ChannelSubscribe.cs | 2 +- .../SubscriptionTypes/Channel/ChannelSubscriptionEnd.cs | 2 +- .../SubscriptionTypes/Channel/ChannelSubscriptionGift.cs | 2 +- .../SubscriptionTypes/Channel/ChannelSubscriptionMessage.cs | 2 +- .../SubscriptionTypes/Channel/ChannelUnban.cs | 2 +- .../SubscriptionTypes/Channel/ChannelUpdate.cs | 2 +- .../SubscriptionTypes/Channel/HypeTrainBegin.cs | 2 +- .../SubscriptionTypes/Channel/HypeTrainEnd.cs | 2 +- .../SubscriptionTypes/Channel/HypeTrainProgress.cs | 2 +- .../SubscriptionTypes/Drop/DropEntitlementGrant.cs | 2 +- .../Extension/ExtensionBitsTransactionCreate.cs | 2 +- .../SubscriptionTypes/Stream/StreamOffline.cs | 2 +- .../SubscriptionTypes/Stream/StreamOnline.cs | 2 +- .../SubscriptionTypes/User/UserAuthorizationGrant.cs | 2 +- .../SubscriptionTypes/User/UserAuthorizationRevoke.cs | 2 +- TwitchLib.EventSub.Core/SubscriptionTypes/User/UserUpdate.cs | 2 +- 58 files changed, 58 insertions(+), 58 deletions(-) diff --git a/TwitchLib.EventSub.Core/Models/ChannelPoints/GlobalCooldownSettings.cs b/TwitchLib.EventSub.Core/Models/ChannelPoints/GlobalCooldownSettings.cs index 846293e..d894572 100644 --- a/TwitchLib.EventSub.Core/Models/ChannelPoints/GlobalCooldownSettings.cs +++ b/TwitchLib.EventSub.Core/Models/ChannelPoints/GlobalCooldownSettings.cs @@ -3,7 +3,7 @@ /// /// Whether a cooldown is enabled and what the cooldown is in seconds. /// - public class GlobalCooldownSettings + public sealed class GlobalCooldownSettings { /// /// Whether the setting is enabled. diff --git a/TwitchLib.EventSub.Core/Models/ChannelPoints/MaxAmountSettings.cs b/TwitchLib.EventSub.Core/Models/ChannelPoints/MaxAmountSettings.cs index 11205a8..d9b961a 100644 --- a/TwitchLib.EventSub.Core/Models/ChannelPoints/MaxAmountSettings.cs +++ b/TwitchLib.EventSub.Core/Models/ChannelPoints/MaxAmountSettings.cs @@ -5,7 +5,7 @@ /// or /// Whether a maximum per user per stream is enabled and what the maximum is. /// - public class MaxAmountSettings + public sealed class MaxAmountSettings { /// /// Whether the setting is enabled. diff --git a/TwitchLib.EventSub.Core/Models/ChannelPoints/RedemptionReward.cs b/TwitchLib.EventSub.Core/Models/ChannelPoints/RedemptionReward.cs index 36c3dfd..846ba51 100644 --- a/TwitchLib.EventSub.Core/Models/ChannelPoints/RedemptionReward.cs +++ b/TwitchLib.EventSub.Core/Models/ChannelPoints/RedemptionReward.cs @@ -3,7 +3,7 @@ /// /// Basic information about the reward that was redeemed, at the time it was redeemed. /// - public class RedemptionReward + public sealed class RedemptionReward { /// /// The reward identifier. diff --git a/TwitchLib.EventSub.Core/Models/Charity/CharityAmount.cs b/TwitchLib.EventSub.Core/Models/Charity/CharityAmount.cs index ffb5678..ef2790d 100644 --- a/TwitchLib.EventSub.Core/Models/Charity/CharityAmount.cs +++ b/TwitchLib.EventSub.Core/Models/Charity/CharityAmount.cs @@ -3,7 +3,7 @@ /// /// An object that contains the amount of charity related things. /// - public class CharityAmount + public sealed class CharityAmount { /// /// The monetary amount. The amount is specified in the currency’s minor unit. For example, the minor units for USD is cents, so if the amount is $5.50 USD, value is set to 550. diff --git a/TwitchLib.EventSub.Core/Models/Extensions/BitsProduct.cs b/TwitchLib.EventSub.Core/Models/Extensions/BitsProduct.cs index 986181f..6112b36 100644 --- a/TwitchLib.EventSub.Core/Models/Extensions/BitsProduct.cs +++ b/TwitchLib.EventSub.Core/Models/Extensions/BitsProduct.cs @@ -3,7 +3,7 @@ /// /// Additional information about a product acquired via a Twitch Extension Bits transaction. /// - public class BitsProduct + public sealed class BitsProduct { /// /// Product name. diff --git a/TwitchLib.EventSub.Core/Models/HypeTrain/HypeTrainContribution.cs b/TwitchLib.EventSub.Core/Models/HypeTrain/HypeTrainContribution.cs index 0adb251..ffaff16 100644 --- a/TwitchLib.EventSub.Core/Models/HypeTrain/HypeTrainContribution.cs +++ b/TwitchLib.EventSub.Core/Models/HypeTrain/HypeTrainContribution.cs @@ -3,7 +3,7 @@ /// /// Describes a user's contribution to a HypeTrain /// - public class HypeTrainContribution + public sealed class HypeTrainContribution { /// /// The ID of the contributor. diff --git a/TwitchLib.EventSub.Core/Models/Polls/PollChoice.cs b/TwitchLib.EventSub.Core/Models/Polls/PollChoice.cs index 30cfb70..c3381b8 100644 --- a/TwitchLib.EventSub.Core/Models/Polls/PollChoice.cs +++ b/TwitchLib.EventSub.Core/Models/Polls/PollChoice.cs @@ -3,7 +3,7 @@ /// /// Defines a poll choice /// - public class PollChoice + public sealed class PollChoice { /// /// ID for the choice. diff --git a/TwitchLib.EventSub.Core/Models/Polls/PollVotingSettings.cs b/TwitchLib.EventSub.Core/Models/Polls/PollVotingSettings.cs index c6debde..1ead86a 100644 --- a/TwitchLib.EventSub.Core/Models/Polls/PollVotingSettings.cs +++ b/TwitchLib.EventSub.Core/Models/Polls/PollVotingSettings.cs @@ -3,7 +3,7 @@ /// /// Whether Bits/ChannelPoints voting is enabled and its cost /// - public class PollVotingSettings + public sealed class PollVotingSettings { /// /// Indicates if Bits/Channel Points can be used for voting. diff --git a/TwitchLib.EventSub.Core/Models/Predictions/PredictionOutcomes.cs b/TwitchLib.EventSub.Core/Models/Predictions/PredictionOutcomes.cs index 4d000bc..89516cc 100644 --- a/TwitchLib.EventSub.Core/Models/Predictions/PredictionOutcomes.cs +++ b/TwitchLib.EventSub.Core/Models/Predictions/PredictionOutcomes.cs @@ -5,7 +5,7 @@ namespace TwitchLib.EventSub.Core.Models.Predictions /// /// Defines the outcomes of a prediction /// - public class PredictionOutcomes + public sealed class PredictionOutcomes { /// /// The outcome ID. diff --git a/TwitchLib.EventSub.Core/Models/Predictions/Predictor.cs b/TwitchLib.EventSub.Core/Models/Predictions/Predictor.cs index 29a5370..2372f76 100644 --- a/TwitchLib.EventSub.Core/Models/Predictions/Predictor.cs +++ b/TwitchLib.EventSub.Core/Models/Predictions/Predictor.cs @@ -3,7 +3,7 @@ /// /// Defines a user that predicted in a prediction /// - public class Predictor + public sealed class Predictor { /// /// The ID of the user. diff --git a/TwitchLib.EventSub.Core/Models/Subscriptions/SubscriptionMessage.cs b/TwitchLib.EventSub.Core/Models/Subscriptions/SubscriptionMessage.cs index 0eda203..d218a64 100644 --- a/TwitchLib.EventSub.Core/Models/Subscriptions/SubscriptionMessage.cs +++ b/TwitchLib.EventSub.Core/Models/Subscriptions/SubscriptionMessage.cs @@ -5,7 +5,7 @@ namespace TwitchLib.EventSub.Core.Models.Subscriptions /// /// Defines a subscription message send in chat to share a resubscription /// - public class SubscriptionMessage + public sealed class SubscriptionMessage { /// /// The text of the resubscription chat message. diff --git a/TwitchLib.EventSub.Core/Models/Subscriptions/SubscriptionMessageEmote.cs b/TwitchLib.EventSub.Core/Models/Subscriptions/SubscriptionMessageEmote.cs index 7e96f61..8049e78 100644 --- a/TwitchLib.EventSub.Core/Models/Subscriptions/SubscriptionMessageEmote.cs +++ b/TwitchLib.EventSub.Core/Models/Subscriptions/SubscriptionMessageEmote.cs @@ -3,7 +3,7 @@ /// /// Defines Emotes and their positions in a resubscription chat message /// - public class SubscriptionMessageEmote + public sealed class SubscriptionMessageEmote { /// /// The index of where the Emote starts in the text. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelAdBreakBegin.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelAdBreakBegin.cs index 187a760..c9b3a1d 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelAdBreakBegin.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelAdBreakBegin.cs @@ -7,7 +7,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// a User runs a midroll commercial break, either manually or automatically via ads manager. /// - public class ChannelAdBreakBegin + public sealed class ChannelAdBreakBegin { /// /// Length in seconds of the mid-roll ad break requested diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelBan.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelBan.cs index 13abed6..05fbc59 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelBan.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelBan.cs @@ -7,7 +7,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// A viewer is banned/timed out from the specified channel. /// - public class ChannelBan + public sealed class ChannelBan { /// /// The user ID for the user who was banned/timed out on the specified channel. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCharityCampaignDonate.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCharityCampaignDonate.cs index 83a4255..e21ba83 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCharityCampaignDonate.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCharityCampaignDonate.cs @@ -7,7 +7,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// Sends an event notification when a user donates to the broadcaster’s charity campaign. /// - public class ChannelCharityCampaignDonate : CharityBase + public sealed class ChannelCharityCampaignDonate : CharityBase { /// /// An ID that uniquely identifies the charity campaign. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCharityCampaignProgress.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCharityCampaignProgress.cs index d42f735..71c2072 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCharityCampaignProgress.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCharityCampaignProgress.cs @@ -11,7 +11,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// To get that information, subscribe to the Start event or call the Get Charity Campaign endpoint. /// To get donation information, subscribe to the channel.charity_campaign.donate event. /// - public class ChannelCharityCampaignProgress : CharityBase + public sealed class ChannelCharityCampaignProgress : CharityBase { /// /// An ID that identifies the charity campaign. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCharityCampaignStart.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCharityCampaignStart.cs index 2f70729..dc5eb70 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCharityCampaignStart.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCharityCampaignStart.cs @@ -9,7 +9,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Sends a notification when the broadcaster starts a charity campaign. /// It’s possible to receive this event after the Progress event. /// - public class ChannelCharityCampaignStart : CharityBase + public sealed class ChannelCharityCampaignStart : CharityBase { /// /// An ID that identifies the charity campaign. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCharityCampaignStop.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCharityCampaignStop.cs index 6c333be..1d9ebb1 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCharityCampaignStop.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCharityCampaignStop.cs @@ -10,7 +10,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// The event data does not include information about the charity such as its name, description, and logo. /// To get that information, subscribe to the Start event or call the Get Charity Campaign endpoint. /// - public class ChannelCharityCampaignStop + public sealed class ChannelCharityCampaignStop { /// /// An ID that identifies the charity campaign. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCheer.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCheer.cs index 154f713..e40ec79 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCheer.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelCheer.cs @@ -5,7 +5,7 @@ /// Description: /// A user cheers on the specified channel. /// - public class ChannelCheer + public sealed class ChannelCheer { /// /// Whether the user cheered anonymously or not. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelFollow.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelFollow.cs index 42eb900..9b160b7 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelFollow.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelFollow.cs @@ -7,7 +7,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// A specified channel receives a follow. /// - public class ChannelFollow + public sealed class ChannelFollow { /// /// The user ID for the user now following the specified channel. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGoalBegin.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGoalBegin.cs index 33adef4..c80c953 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGoalBegin.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGoalBegin.cs @@ -7,6 +7,6 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// A channel goal is created /// - public class ChannelGoalBegin : ChannelGoalBase + public sealed class ChannelGoalBegin : ChannelGoalBase { } } \ No newline at end of file diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGoalEnd.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGoalEnd.cs index 2c27838..efdc1d8 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGoalEnd.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGoalEnd.cs @@ -8,7 +8,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// A channel goal ends /// - public class ChannelGoalEnd : ChannelGoalBase + public sealed class ChannelGoalEnd : ChannelGoalBase { /// /// The UTC timestamp in RFC 3339 format, which indicates when the broadcaster ended the goal. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGoalProgress.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGoalProgress.cs index e8835c8..b105d7a 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGoalProgress.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGoalProgress.cs @@ -7,6 +7,6 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// A channel goal progress changes, by either receiving a follow/unfollow or a subscription/unsubscription /// - public class ChannelGoalProgress : ChannelGoalBase + public sealed class ChannelGoalProgress : ChannelGoalBase { } } \ No newline at end of file diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGuestStarGuestUpdate.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGuestStarGuestUpdate.cs index b2782ac..51ecbc4 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGuestStarGuestUpdate.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGuestStarGuestUpdate.cs @@ -7,7 +7,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// The channel.guest_star_guest.update subscription type sends a notification when a guest moves between interaction states in an active Guest Star session. /// - public class ChannelGuestStarGuestUpdate : ChannelGuestStarBase + public sealed class ChannelGuestStarGuestUpdate : ChannelGuestStarBase { /// /// The current state of the user after the update has taken place. Can be one of the following: diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGuestStarSessionBegin.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGuestStarSessionBegin.cs index 8cb241f..08df681 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGuestStarSessionBegin.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGuestStarSessionBegin.cs @@ -8,7 +8,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// The channel.guest_star_session.begin subscription type sends a notification when the host begins a new Guest Star session. /// - public class ChannelGuestStarSessionBegin : ChannelGuestStarSessionBase + public sealed class ChannelGuestStarSessionBegin : ChannelGuestStarSessionBase { /// /// RFC3339 timestamp indicating the time the session began. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGuestStarSessionEnd.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGuestStarSessionEnd.cs index 6028b16..614790b 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGuestStarSessionEnd.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGuestStarSessionEnd.cs @@ -8,7 +8,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// The channel.guest_star_session.end subscription type sends a notification when a running Guest Star session is ended by the host, or automatically by the system. /// - public class ChannelGuestStarSessionEnd : ChannelGuestStarSessionBase + public sealed class ChannelGuestStarSessionEnd : ChannelGuestStarSessionBase { /// /// RFC3339 timestamp indicating the time the session began. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGuestStarSettingsUpdate.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGuestStarSettingsUpdate.cs index be25a9f..0905ea6 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGuestStarSettingsUpdate.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelGuestStarSettingsUpdate.cs @@ -5,7 +5,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// The channel.guest_star_settings.update subscription type sends a notification when the host preferences for Guest Star have been updated. /// - public class ChannelGuestStarSettingsUpdate + public sealed class ChannelGuestStarSettingsUpdate { /// /// User ID of the host channel diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelModerator.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelModerator.cs index dc37d33..d360631 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelModerator.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelModerator.cs @@ -5,7 +5,7 @@ /// Description: /// Moderator privileges were added to/removed from a user on a specified channel. /// - public class ChannelModerator + public sealed class ChannelModerator { /// /// The user ID of the new/removed moderator. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPointsCustomReward.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPointsCustomReward.cs index 4c3d82a..df78b85 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPointsCustomReward.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPointsCustomReward.cs @@ -10,7 +10,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// A custom channel points reward has been created/updated/removed for the specified channel. /// - public class ChannelPointsCustomReward + public sealed class ChannelPointsCustomReward { /// /// The reward identifier. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPointsCustomRewardRedemption.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPointsCustomRewardRedemption.cs index d6904fb..504b752 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPointsCustomRewardRedemption.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPointsCustomRewardRedemption.cs @@ -10,7 +10,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// A viewer has redeemed a custom channel points reward on the specified channel. /// A redemption of a channel points custom reward has been updated for the specified channel. /// - public class ChannelPointsCustomRewardRedemption + public sealed class ChannelPointsCustomRewardRedemption { /// /// The redemption identifier. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPollBegin.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPollBegin.cs index 6d4707a..2d8f840 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPollBegin.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPollBegin.cs @@ -8,7 +8,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// A poll started on a specified channel. /// - public class ChannelPollBegin : ChannelPollBase + public sealed class ChannelPollBegin : ChannelPollBase { /// /// The time the poll will end. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPollEnd.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPollEnd.cs index 408365c..dff0667 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPollEnd.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPollEnd.cs @@ -8,7 +8,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// A poll ended on a specified channel. /// - public class ChannelPollEnd : ChannelPollBase + public sealed class ChannelPollEnd : ChannelPollBase { /// /// The status of the poll. Valid values are completed, archived, and terminated. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPollProgress.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPollProgress.cs index b9abf93..bac6f24 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPollProgress.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPollProgress.cs @@ -8,7 +8,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// Users respond to a poll on a specified channel. /// - public class ChannelPollProgress : ChannelPollBase + public sealed class ChannelPollProgress : ChannelPollBase { /// /// The time the poll will end. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPredictionBegin.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPredictionBegin.cs index 6230997..fbd12f1 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPredictionBegin.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPredictionBegin.cs @@ -8,7 +8,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// A Prediction started on a specified channel. /// - public class ChannelPredictionBegin : ChannelPredictionBase + public sealed class ChannelPredictionBegin : ChannelPredictionBase { /// /// The time the Channel Points Prediction will automatically lock. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPredictionEnd.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPredictionEnd.cs index a3c4500..42bda3c 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPredictionEnd.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPredictionEnd.cs @@ -8,7 +8,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// A Prediction ended on a specified channel. /// - public class ChannelPredictionEnd : ChannelPredictionBase + public sealed class ChannelPredictionEnd : ChannelPredictionBase { /// /// ID of the winning outcome. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPredictionLock.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPredictionLock.cs index 1e3ac82..7eed161 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPredictionLock.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPredictionLock.cs @@ -8,7 +8,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// A Prediction was locked on a specified channel. /// - public class ChannelPredictionLock : ChannelPredictionBase + public sealed class ChannelPredictionLock : ChannelPredictionBase { /// /// The time the Channel Points Prediction was locked. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPredictionProgress.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPredictionProgress.cs index 5b7257f..7efbeb8 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPredictionProgress.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelPredictionProgress.cs @@ -8,7 +8,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// Users participated in a Prediction on a specified channel. /// - public class ChannelPredictionProgress : ChannelPredictionBase + public sealed class ChannelPredictionProgress : ChannelPredictionBase { /// /// The time the Channel Points Prediction will automatically lock. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelRaid.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelRaid.cs index 5822611..e9b0c40 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelRaid.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelRaid.cs @@ -5,7 +5,7 @@ /// Description: /// A broadcaster raids another broadcaster’s channel. /// - public class ChannelRaid + public sealed class ChannelRaid { /// /// The broadcaster ID that created the raid. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelShieldModeBegin.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelShieldModeBegin.cs index ae7aa29..6848e00 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelShieldModeBegin.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelShieldModeBegin.cs @@ -8,7 +8,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// Defines the Shield Mode data that you receive when the channel.shield_mode.begin event occurs. /// - public class ChannelShieldModeBegin : ShieldModeBase + public sealed class ChannelShieldModeBegin : ShieldModeBase { /// /// The UTC timestamp (in RFC3339 format) of when the moderator activated Shield Mode. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelShieldModeEnd.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelShieldModeEnd.cs index 828f399..c7871d5 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelShieldModeEnd.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelShieldModeEnd.cs @@ -8,7 +8,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// Defines the Shield Mode data that you receive when the channel.shield_mode.end event occurs. /// - public class ChannelShieldModeEnd : ShieldModeBase + public sealed class ChannelShieldModeEnd : ShieldModeBase { /// /// The UTC timestamp (in RFC3339 format) of when the moderator deactivated Shield Mode. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelShoutoutCreate.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelShoutoutCreate.cs index 4482945..1e4987e 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelShoutoutCreate.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelShoutoutCreate.cs @@ -8,7 +8,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// Defines the Shoutout data that you receive when the channel.shoutout.create event occurs. /// - public class ChannelShoutoutCreate : ShoutoutBase + public sealed class ChannelShoutoutCreate : ShoutoutBase { /// /// An ID that identifies the moderator that sent the Shoutout. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelShoutoutReceive.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelShoutoutReceive.cs index db5999d..1eca11e 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelShoutoutReceive.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelShoutoutReceive.cs @@ -7,7 +7,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// Defines the Shoutout data that you receive when the channel.shoutout.receive event occurs. /// - public class ChannelShoutoutReceive : ShoutoutBase + public sealed class ChannelShoutoutReceive : ShoutoutBase { /// /// An ID that identifies the broadcaster that received the Shoutout. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelSubscribe.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelSubscribe.cs index 434349c..f472ab9 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelSubscribe.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelSubscribe.cs @@ -5,7 +5,7 @@ /// Description: /// A notification when a specified channel receives a subscriber. This does not include resubscribes. /// - public class ChannelSubscribe + public sealed class ChannelSubscribe { /// /// The user ID for the user who subscribed to the specified channel. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelSubscriptionEnd.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelSubscriptionEnd.cs index 7afbf5f..7d1bde7 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelSubscriptionEnd.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelSubscriptionEnd.cs @@ -5,7 +5,7 @@ /// Description: /// A notification when a subscription to the specified channel ends. /// - public class ChannelSubscriptionEnd + public sealed class ChannelSubscriptionEnd { /// /// The user ID for the user whose subscription ended. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelSubscriptionGift.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelSubscriptionGift.cs index 534079f..51331ea 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelSubscriptionGift.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelSubscriptionGift.cs @@ -5,7 +5,7 @@ /// Description: /// A notification when a viewer gives a gift subscription to one or more users in the specified channel. /// - public class ChannelSubscriptionGift + public sealed class ChannelSubscriptionGift { /// /// The user ID of the user who sent the subscription gift. Set to null if it was an anonymous subscription gift. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelSubscriptionMessage.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelSubscriptionMessage.cs index f09b218..251e717 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelSubscriptionMessage.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelSubscriptionMessage.cs @@ -7,7 +7,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// A notification when a user sends a resubscription chat message in a specific channel. /// - public class ChannelSubscriptionMessage + public sealed class ChannelSubscriptionMessage { /// /// The user ID of the user who sent a resubscription chat message. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelUnban.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelUnban.cs index 52cdaba..0c0fe35 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelUnban.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelUnban.cs @@ -5,7 +5,7 @@ /// Description: /// A viewer is unbanned from the specified channel. /// - public class ChannelUnban + public sealed class ChannelUnban { /// /// The user id for the user who was unbanned on the specified channel. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelUpdate.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelUpdate.cs index 073d847..dcc70c8 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelUpdate.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/ChannelUpdate.cs @@ -5,7 +5,7 @@ /// Description: /// A broadcaster updates their channel properties e.g., category, title, mature flag, broadcast, or language. /// - public class ChannelUpdate + public sealed class ChannelUpdate { /// /// The broadcaster’s user ID. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/HypeTrainBegin.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/HypeTrainBegin.cs index 71033fa..f86683f 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/HypeTrainBegin.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/HypeTrainBegin.cs @@ -8,7 +8,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// A Hype Train begins on the specified channel. /// - public class HypeTrainBegin : HypeTrainBase + public sealed class HypeTrainBegin : HypeTrainBase { /// /// The number of points contributed to the Hype Train at the current level. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/HypeTrainEnd.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/HypeTrainEnd.cs index b2d50a2..97e8c5b 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/HypeTrainEnd.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/HypeTrainEnd.cs @@ -8,7 +8,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// A Hype Train ends on the specified channel. /// - public class HypeTrainEnd : HypeTrainBase + public sealed class HypeTrainEnd : HypeTrainBase { /// /// The time when the Hype Train cooldown ends so that the next Hype Train can start. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/HypeTrainProgress.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/HypeTrainProgress.cs index 4e30021..5ff0ad8 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/HypeTrainProgress.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Channel/HypeTrainProgress.cs @@ -8,7 +8,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Channel /// Description: /// A Hype Train makes progress on the specified channel. /// - public class HypeTrainProgress : HypeTrainBase + public sealed class HypeTrainProgress : HypeTrainBase { /// /// The number of points contributed to the Hype Train at the current level. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Drop/DropEntitlementGrant.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Drop/DropEntitlementGrant.cs index 290798c..592f412 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Drop/DropEntitlementGrant.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Drop/DropEntitlementGrant.cs @@ -7,7 +7,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Drop /// Description: /// An entitlement for a Drop is granted to a user. /// - public class DropEntitlementGrant + public sealed class DropEntitlementGrant { /// /// The ID of the organization that owns the game that has Drops enabled. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Extension/ExtensionBitsTransactionCreate.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Extension/ExtensionBitsTransactionCreate.cs index 133eb6c..8f27784 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Extension/ExtensionBitsTransactionCreate.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Extension/ExtensionBitsTransactionCreate.cs @@ -7,7 +7,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Extension /// Description: /// A Bits transaction occurred for a specified Twitch Extension. /// - public class ExtensionBitsTransactionCreate + public sealed class ExtensionBitsTransactionCreate { /// /// Transaction ID. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Stream/StreamOffline.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Stream/StreamOffline.cs index c074bcd..48d1ff2 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Stream/StreamOffline.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Stream/StreamOffline.cs @@ -5,7 +5,7 @@ /// Description: /// The specified broadcaster stops a stream. /// - public class StreamOffline + public sealed class StreamOffline { /// /// The broadcaster's user id. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/Stream/StreamOnline.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/Stream/StreamOnline.cs index 784e1d8..7a92f3e 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/Stream/StreamOnline.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/Stream/StreamOnline.cs @@ -7,7 +7,7 @@ namespace TwitchLib.EventSub.Core.SubscriptionTypes.Stream /// Description: /// The specified broadcaster starts a stream. /// - public class StreamOnline + public sealed class StreamOnline { /// /// The id of the stream. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/User/UserAuthorizationGrant.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/User/UserAuthorizationGrant.cs index 31ebbf3..44adaf2 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/User/UserAuthorizationGrant.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/User/UserAuthorizationGrant.cs @@ -5,7 +5,7 @@ /// Description: /// A user’s authorization has been granted to your client id. /// - public class UserAuthorizationGrant + public sealed class UserAuthorizationGrant { /// /// The client_id of the application that was granted user access. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/User/UserAuthorizationRevoke.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/User/UserAuthorizationRevoke.cs index 52a2ee5..abeecf8 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/User/UserAuthorizationRevoke.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/User/UserAuthorizationRevoke.cs @@ -5,7 +5,7 @@ /// Description: /// A user’s authorization has been revoked for your client id. /// - public class UserAuthorizationRevoke + public sealed class UserAuthorizationRevoke { /// /// The client_id of the application with revoked user access. diff --git a/TwitchLib.EventSub.Core/SubscriptionTypes/User/UserUpdate.cs b/TwitchLib.EventSub.Core/SubscriptionTypes/User/UserUpdate.cs index 24968ec..80e7bf5 100644 --- a/TwitchLib.EventSub.Core/SubscriptionTypes/User/UserUpdate.cs +++ b/TwitchLib.EventSub.Core/SubscriptionTypes/User/UserUpdate.cs @@ -5,7 +5,7 @@ /// Description: /// A user has updated their account. /// - public class UserUpdate + public sealed class UserUpdate { /// /// The user’s user id.