diff options
| author | 2024-07-27 05:56:48 +0300 | |
|---|---|---|
| committer | 2024-07-27 05:58:51 +0300 | |
| commit | 98abaf3d19631f1280b83467d38f28b150a02a3a (patch) | |
| tree | fdf3094c3c18421d9ee23c244a668f2e274a9b57 /src/types/ChatInviteLink.zig | |
| parent | Send a different GIF when bot gets added (diff) | |
| download | ukkobot-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.zig | 8 |
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, | |||
| 5 | creates_join_request: bool, | 5 | creates_join_request: bool, |
| 6 | is_primary: bool, | 6 | is_primary: bool, |
| 7 | is_revoked: bool, | 7 | is_revoked: bool, |
| 8 | name: ?[]const u8, | 8 | name: ?[]const u8 = null, |
| 9 | expire_date: ?u64, | 9 | expire_date: ?u64 = null, |
| 10 | member_limit: ?u64, | 10 | member_limit: ?u64 = null, |
| 11 | pending_join_request_count: ?u64, | 11 | pending_join_request_count: ?u64 = null, |