Skip to content

Commit b9cb637

Browse files
committed
fix type (int -> long) for Rating fields
1 parent 6c50626 commit b9cb637

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Telegram.Bot/Types/UserRating.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ public partial class UserRating
1010

1111
/// <summary>Numerical value of the user's rating; the higher the rating, the better</summary>
1212
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
13-
public int Rating { get; set; }
13+
public long Rating { get; set; }
1414

1515
/// <summary>The rating value required to get the current level</summary>
1616
[JsonPropertyName("current_level_rating")]
1717
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
18-
public int CurrentLevelRating { get; set; }
18+
public long CurrentLevelRating { get; set; }
1919

2020
/// <summary><em>Optional</em>. The rating value required to get to the next level; omitted if the maximum level was reached</summary>
2121
[JsonPropertyName("next_level_rating")]
22-
public int? NextLevelRating { get; set; }
22+
public long? NextLevelRating { get; set; }
2323
}

0 commit comments

Comments
 (0)