diff options
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, | ||