You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Telegram.Bot/Types/StarAmount.cs
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,10 @@ public partial class StarAmount
6
6
{
7
7
/// <summary>Integer amount of Telegram Stars, rounded to 0; can be negative</summary>
8
8
[JsonIgnore(Condition=JsonIgnoreCondition.Never)]
9
-
publicintAmount{get;set;}
9
+
[JsonPropertyName("star_count")]
10
+
publicintStarCount{get;set;}
10
11
11
12
/// <summary><em>Optional</em>. The number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999; can be negative if and only if <see cref="Amount">Amount</see> is non-positive</summary>
0 commit comments