summaryrefslogtreecommitdiff
path: root/src/types/ChatInviteLink.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/ChatInviteLink.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/ChatInviteLink.zig')
-rw-r--r--src/types/ChatInviteLink.zig8
1 files changed, 4 insertions, 4 deletions
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,
5creates_join_request: bool, 5creates_join_request: bool,
6is_primary: bool, 6is_primary: bool,
7is_revoked: bool, 7is_revoked: bool,
8name: ?[]const u8, 8name: ?[]const u8 = null,
9expire_date: ?u64, 9expire_date: ?u64 = null,
10member_limit: ?u64, 10member_limit: ?u64 = null,
11pending_join_request_count: ?u64, 11pending_join_request_count: ?u64 = null,