From 0c85cde5598c83414add4e3659a924055df13f46 Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Fri, 26 Jul 2024 17:38:38 +0300 Subject: New members are now greeted by a GIF --- src/types/SendAnimationParams.zig | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/types/SendAnimationParams.zig (limited to 'src/types/SendAnimationParams.zig') 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 @@ +const MessageEntity = @import("MessageEntity.zig"); +const ParseMode = @import("parse_mode.zig").ParseMode; +const ReplyParameters = @import("ReplyParameters.zig"); + +business_connection_id: ?[]const u8 = null, +// TODO: Integer or String +chat_id: i64, +message_thread_id: ?u64 = null, +// TODO: InputFile or String +animation: []const u8, +duration: ?u64 = null, +width: ?u64 = null, +height: ?u64 = null, +// TODO: InputFile or String +thumbnail: ?[]const u8 = null, +caption: ?[]const u8 = null, +parse_mode: ?ParseMode = null, +caption_entities: ?[]MessageEntity = null, +show_caption_above_media: ?bool = null, +has_spoiler: ?bool = null, +disable_notification: ?bool = null, +protect_content: ?bool = null, +message_effect_id: ?[]const u8 = null, +reply_parameters: ?ReplyParameters = null, +// TODO: reply_markup: InlineKeyboardMarkup OR ReplyKeyboardMarkup OR ReplyKeyboardRemove OR ForceReply -- cgit v1.2.3