diff options
| author | 2024-07-20 17:22:25 +0300 | |
|---|---|---|
| committer | 2024-07-20 17:22:25 +0300 | |
| commit | c70ffd095a6de5cd5b872796a0d82a8c5afc1511 (patch) | |
| tree | 56183274b05a294e357bad4d06b523472a1c4a4a /src/types/InlineQuery.zig | |
| download | ukkobot-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.zig | 17 |
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 @@ | |||
| 1 | const Location = @import("Location.zig"); | ||
| 2 | const User = @import("User.zig"); | ||
| 3 | |||
| 4 | pub const ChatType = enum { | ||
| 5 | sender, | ||
| 6 | private, | ||
| 7 | group, | ||
| 8 | supergroup, | ||
| 9 | channel, | ||
| 10 | }; | ||
| 11 | |||
| 12 | id: []const u8, | ||
| 13 | from: User, | ||
| 14 | query: []const u8, | ||
| 15 | offset: []const u8, | ||
| 16 | chat_type: ?ChatType, | ||
| 17 | location: ?Location, | ||