summaryrefslogtreecommitdiff
path: root/src/types/Audio.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/Audio.zig
downloadukkobot-c70ffd095a6de5cd5b872796a0d82a8c5afc1511.tar.gz
ukkobot-c70ffd095a6de5cd5b872796a0d82a8c5afc1511.tar.xz
ukkobot-c70ffd095a6de5cd5b872796a0d82a8c5afc1511.zip
Initial commit
Diffstat (limited to 'src/types/Audio.zig')
-rw-r--r--src/types/Audio.zig11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/types/Audio.zig b/src/types/Audio.zig
new file mode 100644
index 0000000..1914088
--- /dev/null
+++ b/src/types/Audio.zig
@@ -0,0 +1,11 @@
1const PhotoSize = @import("PhotoSize.zig");
2
3file_id: []const u8,
4file_unique_id: []const u8,
5duration: u64,
6performer: ?[]const u8 = null,
7title: ?[]const u8 = null,
8file_name: ?[]const u8 = null,
9mime_type: ?[]const u8 = null,
10file_size: ?u64 = null,
11thumbnail: ?PhotoSize = null,