From 98abaf3d19631f1280b83467d38f28b150a02a3a Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Sat, 27 Jul 2024 05:56:48 +0300 Subject: Add a default values to (hopefully) all nullable fields --- src/types/InlineQuery.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/types/InlineQuery.zig') diff --git a/src/types/InlineQuery.zig b/src/types/InlineQuery.zig index 7cbbe20..47da2cb 100644 --- a/src/types/InlineQuery.zig +++ b/src/types/InlineQuery.zig @@ -13,5 +13,5 @@ id: []const u8, from: User, query: []const u8, offset: []const u8, -chat_type: ?ChatType, -location: ?Location, +chat_type: ?ChatType = null, +location: ?Location = null, -- cgit v1.2.3