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/ChatInviteLink.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/types/ChatInviteLink.zig') diff --git a/src/types/ChatInviteLink.zig b/src/types/ChatInviteLink.zig index 41a1f44..232ddcc 100644 --- a/src/types/ChatInviteLink.zig +++ b/src/types/ChatInviteLink.zig @@ -5,7 +5,7 @@ creator: User, creates_join_request: bool, is_primary: bool, is_revoked: bool, -name: ?[]const u8, -expire_date: ?u64, -member_limit: ?u64, -pending_join_request_count: ?u64, +name: ?[]const u8 = null, +expire_date: ?u64 = null, +member_limit: ?u64 = null, +pending_join_request_count: ?u64 = null, -- cgit v1.2.3