Skip to content

Commit

Permalink
[Release] Version 2.5.1 (#20)
Browse files Browse the repository at this point in the history
* Added Recipient info to PayItForward
  • Loading branch information
Syzuna authored Nov 20, 2023
1 parent 3c9ec57 commit a87b703
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
12 changes: 12 additions & 0 deletions TwitchLib.EventSub.Core/Models/Chat/ChatPayItForward.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@
/// </summary>
public sealed class ChatPayItForward
{
/// <summary>
/// Optional. The user ID of the user who received the subscription. Null if not available at the time of event trigger.
/// </summary>
public string? RecipientUserId { get; set; }
/// <summary>
/// Optional. The user name of the user who received the subscription. Null if not available at the time of event trigger.
/// </summary>
public string? RecipientUserName { get; set; }
/// <summary>
/// Optional. The user login of the user who received the subscription. Null if not available at the time of event trigger.
/// </summary>
public string? RecipientUserLogin { get; set; }
/// <summary>
/// Whether the gift was given anonymously.
/// </summary>
Expand Down
8 changes: 4 additions & 4 deletions TwitchLib.EventSub.Core/TwitchLib.EventSub.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<PackageId>TwitchLib.EventSub.Core</PackageId>
<Title>TwitchLib.EventSub.Core</Title>
<Authors>swiftyspiffy, Prom3theu5, Syzuna, LuckyNoS7evin</Authors>
<VersionPrefix>2.5.0</VersionPrefix>
<VersionPrefix>2.5.1</VersionPrefix>
<VersionSuffix>$(VersionSuffix)</VersionSuffix>
<AssemblyVersion>2.5.0</AssemblyVersion>
<FileVersion>2.5.0</FileVersion>
<AssemblyVersion>2.5.1</AssemblyVersion>
<FileVersion>2.5.1</FileVersion>
<Description>Contains Subscription Types and Models for Twitch's EventSub system</Description>
<PackageIconUrl>https://cdn.syzuna-programs.de/images/twitchlib.png</PackageIconUrl>
<PackageProjectUrl>https://github.com/TwitchLib/TwitchLib.EventSub.Websockets</PackageProjectUrl>
Expand All @@ -17,7 +17,7 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>Copyright 2023</Copyright>
<PackageTags>twitch library events eventsub subscriptiontypes c# csharp net netstandard2.0 netstandard2.1 5.0 6.0 7.0 8.0</PackageTags>
<PackageReleaseNotes>Added .NET 8 build target, switched to file scoped namespaces, enabled nullable, sealed most classes, added ChannelAdBreakBegin subscription type, added Channel Chat Subscription Types, removed GuestStarSlotUpdate, updated GuestStarGuestUpdated, Fixed some GuestStar property names, fixed HypeTrainProgress</PackageReleaseNotes>
<PackageReleaseNotes>Fixed Channel Chat Notification PayItFoward</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
<NeutralLanguage>en-US</NeutralLanguage>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
Expand Down

0 comments on commit a87b703

Please sign in to comment.