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/ChatJoinRequest.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/types/ChatJoinRequest.zig') diff --git a/src/types/ChatJoinRequest.zig b/src/types/ChatJoinRequest.zig index f08e070..194871d 100644 --- a/src/types/ChatJoinRequest.zig +++ b/src/types/ChatJoinRequest.zig @@ -6,5 +6,5 @@ chat: Chat, from: User, user_chat_id: i64, date: u64, -bio: ?[]const u8, -invite_link: ?ChatInviteLink, +bio: ?[]const u8 = null, +invite_link: ?ChatInviteLink = null, -- cgit v1.2.3