summaryrefslogtreecommitdiff
path: root/src/types/PollAnswer.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/PollAnswer.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/PollAnswer.zig')
-rw-r--r--src/types/PollAnswer.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/types/PollAnswer.zig b/src/types/PollAnswer.zig
index 7d4985c..f6aca35 100644
--- a/src/types/PollAnswer.zig
+++ b/src/types/PollAnswer.zig
@@ -2,6 +2,6 @@ const Chat = @import("Chat.zig");
2const User = @import("User.zig"); 2const User = @import("User.zig");
3 3
4poll_id: []const u8, 4poll_id: []const u8,
5voter_chat: ?Chat, 5voter_chat: ?Chat = null,
6user: ?User, 6user: ?User = null,
7option_ids: []u64, 7option_ids: []u64,