diff options
Diffstat (limited to 'src/types/SendAnimationParams.zig')
| -rw-r--r-- | src/types/SendAnimationParams.zig | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/types/SendAnimationParams.zig b/src/types/SendAnimationParams.zig new file mode 100644 index 0000000..9377b3f --- /dev/null +++ b/src/types/SendAnimationParams.zig | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | const MessageEntity = @import("MessageEntity.zig"); | ||
| 2 | const ParseMode = @import("parse_mode.zig").ParseMode; | ||
| 3 | const ReplyParameters = @import("ReplyParameters.zig"); | ||
| 4 | |||
| 5 | business_connection_id: ?[]const u8 = null, | ||
| 6 | // TODO: Integer or String | ||
| 7 | chat_id: i64, | ||
| 8 | message_thread_id: ?u64 = null, | ||
| 9 | // TODO: InputFile or String | ||
| 10 | animation: []const u8, | ||
| 11 | duration: ?u64 = null, | ||
| 12 | width: ?u64 = null, | ||
| 13 | height: ?u64 = null, | ||
| 14 | // TODO: InputFile or String | ||
| 15 | thumbnail: ?[]const u8 = null, | ||
| 16 | caption: ?[]const u8 = null, | ||
| 17 | parse_mode: ?ParseMode = null, | ||
| 18 | caption_entities: ?[]MessageEntity = null, | ||
| 19 | show_caption_above_media: ?bool = null, | ||
| 20 | has_spoiler: ?bool = null, | ||
| 21 | disable_notification: ?bool = null, | ||
| 22 | protect_content: ?bool = null, | ||
| 23 | message_effect_id: ?[]const u8 = null, | ||
| 24 | reply_parameters: ?ReplyParameters = null, | ||
| 25 | // TODO: reply_markup: InlineKeyboardMarkup OR ReplyKeyboardMarkup OR ReplyKeyboardRemove OR ForceReply | ||