summaryrefslogtreecommitdiff
path: root/src/types/SendAnimationParams.zig
blob: 9377b3f2ca1e68d66501853e577efb6b75b65574 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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