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/Chat.zig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/types/Chat.zig (limited to 'src/types/Chat.zig') diff --git a/src/types/Chat.zig b/src/types/Chat.zig new file mode 100644 index 0000000..f44e480 --- /dev/null +++ b/src/types/Chat.zig @@ -0,0 +1,14 @@ +pub const Type = enum { + private, + group, + supergroup, + channel, +}; + +id: i64, +type: Type, +title: ?[]const u8 = null, +username: ?[]const u8 = null, +first_name: ?[]const u8 = null, +last_name: ?[]const u8 = null, +is_forum: bool = false, -- cgit v1.2.3