summaryrefslogtreecommitdiff
path: root/src/types/Giveaway.zig
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2024-07-20 17:22:25 +0300
committerGravatar Uko Kokņevičs2024-07-20 17:22:25 +0300
commitc70ffd095a6de5cd5b872796a0d82a8c5afc1511 (patch)
tree56183274b05a294e357bad4d06b523472a1c4a4a /src/types/Giveaway.zig
downloadukkobot-c70ffd095a6de5cd5b872796a0d82a8c5afc1511.tar.gz
ukkobot-c70ffd095a6de5cd5b872796a0d82a8c5afc1511.tar.xz
ukkobot-c70ffd095a6de5cd5b872796a0d82a8c5afc1511.zip
Initial commit
Diffstat (limited to 'src/types/Giveaway.zig')
-rw-r--r--src/types/Giveaway.zig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/types/Giveaway.zig b/src/types/Giveaway.zig
new file mode 100644
index 0000000..d1cfa7e
--- /dev/null
+++ b/src/types/Giveaway.zig
@@ -0,0 +1,10 @@
1const Chat = @import("Chat.zig");
2
3chats: []Chat,
4winners_selection_date: u64,
5winner_count: u64,
6only_new_members: bool = false,
7has_public_winners: bool = false,
8prize_description: ?[]const u8 = null,
9country_codes: ?[]const u8 = null,
10premium_subscription_month_count: ?u64 = null,