summaryrefslogtreecommitdiff
path: root/src/types
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2024-07-26 17:38:38 +0300
committerGravatar Uko Kokņevičs2024-07-26 17:38:38 +0300
commit0c85cde5598c83414add4e3659a924055df13f46 (patch)
tree8006497e849bd22ee0ccf7877649260330c0753f /src/types
parentAdded msginfo command (diff)
downloadukkobot-0c85cde5598c83414add4e3659a924055df13f46.tar.gz
ukkobot-0c85cde5598c83414add4e3659a924055df13f46.tar.xz
ukkobot-0c85cde5598c83414add4e3659a924055df13f46.zip
New members are now greeted by a GIF
Diffstat (limited to 'src/types')
-rw-r--r--src/types/SendAnimationParams.zig25
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 @@
1const MessageEntity = @import("MessageEntity.zig");
2const ParseMode = @import("parse_mode.zig").ParseMode;
3const ReplyParameters = @import("ReplyParameters.zig");
4
5business_connection_id: ?[]const u8 = null,
6// TODO: Integer or String
7chat_id: i64,
8message_thread_id: ?u64 = null,
9// TODO: InputFile or String
10animation: []const u8,
11duration: ?u64 = null,
12width: ?u64 = null,
13height: ?u64 = null,
14// TODO: InputFile or String
15thumbnail: ?[]const u8 = null,
16caption: ?[]const u8 = null,
17parse_mode: ?ParseMode = null,
18caption_entities: ?[]MessageEntity = null,
19show_caption_above_media: ?bool = null,
20has_spoiler: ?bool = null,
21disable_notification: ?bool = null,
22protect_content: ?bool = null,
23message_effect_id: ?[]const u8 = null,
24reply_parameters: ?ReplyParameters = null,
25// TODO: reply_markup: InlineKeyboardMarkup OR ReplyKeyboardMarkup OR ReplyKeyboardRemove OR ForceReply