sig
type video = {
file_id : string;
width : int;
height : int;
duration : int;
thumb : TelegramApi.PhotoSize.photo_size option;
mime_type : string option;
file_size : int option;
}
val create :
file_id:string ->
width:int ->
height:int ->
duration:int ->
?thumb:TelegramApi.PhotoSize.photo_size option ->
?mime_type:string option ->
?file_size:int option -> unit -> TelegramApi.Video.video
val read : Yojson.Safe.json -> TelegramApi.Video.video
module Out :
sig
type video = {
chat_id : int;
video : string;
duration : int option;
caption : string option;
disable_notification : bool;
reply_to_message_id : int option;
reply_markup : TelegramApi.ReplyMarkup.reply_markup option;
}
val create :
chat_id:int ->
video:string ->
?duration:int option ->
?caption:string option ->
?disable_notification:bool ->
?reply_to:int option ->
?reply_markup:TelegramApi.ReplyMarkup.reply_markup option ->
unit -> TelegramApi.Video.Out.video
val prepare : TelegramApi.Video.Out.video -> string
val prepare_multipart :
TelegramApi.Video.Out.video -> string -> string Lwt.t
end
end