From c70ffd095a6de5cd5b872796a0d82a8c5afc1511 Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Sat, 20 Jul 2024 17:22:25 +0300 Subject: Initial commit --- src/types/Animation.zig | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/types/Animation.zig (limited to 'src/types/Animation.zig') diff --git a/src/types/Animation.zig b/src/types/Animation.zig new file mode 100644 index 0000000..f5d6efc --- /dev/null +++ b/src/types/Animation.zig @@ -0,0 +1,11 @@ +const PhotoSize = @import("PhotoSize.zig"); + +file_id: []const u8, +file_unique_id: []const u8, +width: u64, +height: u64, +duration: u64, +thumbnail: ?[]PhotoSize = null, +file_name: ?[]const u8 = null, +mime_type: ?[]const u8 = null, +file_size: ?u64 = null, -- cgit v1.2.3