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
/// Restore streaks for multiple users to the maximum length in the last 90 days (in the case of daily streaks), one year (in the case of weekly streaks), or two years (in the case of monthly streaks).
24
+
/// </summary>
25
+
/// <example><code>
26
+
/// await client.Admin.Streaks.RestoreAsync(
27
+
/// new RestoreStreaksRequest
28
+
/// {
29
+
/// UserIds = new List<string>() { "user-123", "user-456" },
Copy file name to clipboardExpand all lines: src/TrophyApi/Types/AchievementCompletionResponseAchievement.cs
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,30 @@ public record AchievementCompletionResponseAchievement
19
19
[JsonPropertyName("achievedAt")]
20
20
publicDateTime?AchievedAt{get;set;}
21
21
22
+
/// <summary>
23
+
/// The number of users who have completed this achievement.
24
+
/// </summary>
25
+
[JsonPropertyName("completions")]
26
+
publicrequiredintCompletions{get;set;}
27
+
28
+
/// <summary>
29
+
/// The percentage of all users who have completed this achievement.
30
+
/// </summary>
31
+
[JsonPropertyName("rarity")]
32
+
publicrequireddoubleRarity{get;set;}
33
+
34
+
/// <summary>
35
+
/// User attribute filters that must be met for this achievement to be completed. Only present if the achievement has user attribute filters configured.
Copy file name to clipboardExpand all lines: src/TrophyApi/Types/CompletedAchievementResponse.cs
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,30 @@ public record CompletedAchievementResponse
13
13
[JsonPropertyName("achievedAt")]
14
14
publicDateTime?AchievedAt{get;set;}
15
15
16
+
/// <summary>
17
+
/// The number of users who have completed this achievement.
18
+
/// </summary>
19
+
[JsonPropertyName("completions")]
20
+
publicrequiredintCompletions{get;set;}
21
+
22
+
/// <summary>
23
+
/// The percentage of all users who have completed this achievement.
24
+
/// </summary>
25
+
[JsonPropertyName("rarity")]
26
+
publicrequireddoubleRarity{get;set;}
27
+
28
+
/// <summary>
29
+
/// User attribute filters that must be met for this achievement to be completed. Only present if the achievement has user attribute filters configured.
0 commit comments