1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
const File = @import("File.zig");
const MaskPosition = @import("MaskPosition.zig");
const PhotoSize = @import("PhotoSize.zig");
pub const Type = enum {
regular,
mask,
custom_emoji,
};
file_id: []const u8,
file_unique_id: []const u8,
type: Type,
width: u64,
height: u64,
is_animated: bool = false,
is_video: bool = false,
thumbnail: ?PhotoSize = null,
emoji: ?[]const u8 = null,
set_name: ?[]const u8 = null,
premium_animation: ?File = null,
mask_position: ?MaskPosition = null,
custom_emoji_id: ?[]const u8 = null,
needs_repainting: bool = false,
file_size: ?u64 = null,
|