diff options
| author | 2024-07-27 05:56:48 +0300 | |
|---|---|---|
| committer | 2024-07-27 05:58:51 +0300 | |
| commit | 98abaf3d19631f1280b83467d38f28b150a02a3a (patch) | |
| tree | fdf3094c3c18421d9ee23c244a668f2e274a9b57 /src/types/Document.zig | |
| parent | Send a different GIF when bot gets added (diff) | |
| download | ukkobot-98abaf3d19631f1280b83467d38f28b150a02a3a.tar.gz ukkobot-98abaf3d19631f1280b83467d38f28b150a02a3a.tar.xz ukkobot-98abaf3d19631f1280b83467d38f28b150a02a3a.zip | |
Add a default values to (hopefully) all nullable fields
Diffstat (limited to 'src/types/Document.zig')
| -rw-r--r-- | src/types/Document.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/types/Document.zig b/src/types/Document.zig index 811273d..e4d6a32 100644 --- a/src/types/Document.zig +++ b/src/types/Document.zig | |||
| @@ -3,6 +3,6 @@ const PhotoSize = @import("PhotoSize.zig"); | |||
| 3 | file_id: []const u8, | 3 | file_id: []const u8, |
| 4 | file_unique_id: []const u8, | 4 | file_unique_id: []const u8, |
| 5 | thumbnail: ?PhotoSize = null, | 5 | thumbnail: ?PhotoSize = null, |
| 6 | file_name: ?[]const u8, | 6 | file_name: ?[]const u8 = null, |
| 7 | mime_type: ?[]const u8, | 7 | mime_type: ?[]const u8 = null, |
| 8 | file_size: ?u64 = null, | 8 | file_size: ?u64 = null, |