summaryrefslogtreecommitdiff
path: root/src/types/InlineQuery.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/InlineQuery.zig
downloadukkobot-c70ffd095a6de5cd5b872796a0d82a8c5afc1511.tar.gz
ukkobot-c70ffd095a6de5cd5b872796a0d82a8c5afc1511.tar.xz
ukkobot-c70ffd095a6de5cd5b872796a0d82a8c5afc1511.zip
Initial commit
Diffstat (limited to 'src/types/InlineQuery.zig')
-rw-r--r--src/types/InlineQuery.zig17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/types/InlineQuery.zig b/src/types/InlineQuery.zig
new file mode 100644
index 0000000..7cbbe20
--- /dev/null
+++ b/src/types/InlineQuery.zig
@@ -0,0 +1,17 @@
1const Location = @import("Location.zig");
2const User = @import("User.zig");
3
4pub const ChatType = enum {
5 sender,
6 private,
7 group,
8 supergroup,
9 channel,
10};
11
12id: []const u8,
13from: User,
14query: []const u8,
15offset: []const u8,
16chat_type: ?ChatType,
17location: ?Location,