summaryrefslogtreecommitdiff
path: root/src/types/Sticker.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/types/Sticker.zig')
-rw-r--r--src/types/Sticker.zig25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/types/Sticker.zig b/src/types/Sticker.zig
new file mode 100644
index 0000000..e28df69
--- /dev/null
+++ b/src/types/Sticker.zig
@@ -0,0 +1,25 @@
1const File = @import("File.zig");
2const MaskPosition = @import("MaskPosition.zig");
3const PhotoSize = @import("PhotoSize.zig");
4
5pub const Type = enum {
6 regular,
7 mask,
8 custom_emoji,
9};
10
11file_id: []const u8,
12file_unique_id: []const u8,
13type: Type,
14width: u64,
15height: u64,
16is_animated: bool = false,
17is_video: bool = false,
18thumbnail: ?PhotoSize = null,
19emoji: ?[]const u8 = null,
20set_name: ?[]const u8 = null,
21premium_animation: ?File = null,
22mask_position: ?MaskPosition = null,
23custom_emoji_id: ?[]const u8 = null,
24needs_repainting: bool = false,
25file_size: ?u64 = null,