summaryrefslogtreecommitdiff
path: root/src/types/Document.zig
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2024-07-27 05:56:48 +0300
committerGravatar Uko Kokņevičs2024-07-27 05:58:51 +0300
commit98abaf3d19631f1280b83467d38f28b150a02a3a (patch)
treefdf3094c3c18421d9ee23c244a668f2e274a9b57 /src/types/Document.zig
parentSend a different GIF when bot gets added (diff)
downloadukkobot-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.zig4
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");
3file_id: []const u8, 3file_id: []const u8,
4file_unique_id: []const u8, 4file_unique_id: []const u8,
5thumbnail: ?PhotoSize = null, 5thumbnail: ?PhotoSize = null,
6file_name: ?[]const u8, 6file_name: ?[]const u8 = null,
7mime_type: ?[]const u8, 7mime_type: ?[]const u8 = null,
8file_size: ?u64 = null, 8file_size: ?u64 = null,