Views can be null

This commit is contained in:
barelyprofessional
2026-03-01 23:50:15 -06:00
parent 75774bb62f
commit 98369e3d92
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ internal class FxTweet
[JsonPropertyName("created_timestamp")]
public long CreatedTimestamp { get; set; }
[JsonPropertyName("views")] public int Views { get; set; }
[JsonPropertyName("views")] public int? Views { get; set; }
[JsonPropertyName("is_note_tweet")] public bool IsNoteTweet { get; set; }
[JsonPropertyName("community_note")] public object? CommunityNote { get; set; }
[JsonPropertyName("lang")] public string Lang { get; set; } = string.Empty;