sig
type audio = {
file_id : string;
duration : int;
performer : string option;
title : string option;
mime_type : string option;
file_size : int option;
}
val create :
file_id:string ->
duration:int ->
?performer:string option ->
?title:string option ->
?mime_type:string option ->
?file_size:int option -> unit -> TelegramApi.Audio.audio
val read : Yojson.Safe.json -> TelegramApi.Audio.audio
module Out :
sig
type audio = {
chat_id : int;
audio : string;
duration : int option;
performer : string;
title : string;
disable_notification : bool;
reply_to_message_id : int option;
reply_markup : TelegramApi.ReplyMarkup.reply_markup option;
}
val create :
chat_id:int ->
audio:string ->
?duration:int option ->
performer:string ->
title:string ->
?disable_notification:bool ->
?reply_to:int option ->
?reply_markup:TelegramApi.ReplyMarkup.reply_markup option ->
unit -> TelegramApi.Audio.Out.audio
val prepare : TelegramApi.Audio.Out.audio -> string
val prepare_multipart :
TelegramApi.Audio.Out.audio -> string -> string Lwt.t
end
end