Module Api.Audio.Out

module Out: sig .. end
This module is used to deal with outgoing audio messages

type audio = {
   chat_id : int;
   audio : string;
   duration : int option;
   performer : string;
   title : string;
   reply_to_message_id : int option;
   reply_markup : unit option;
}
Represents the outgoing audio message. Note that the `audio` field can either be an existing file id or the raw bytes from a file

Create an `audio` in a concise manner

val create : chat_id:int ->
audio:string ->
?duration:int option ->
performer:string ->
title:string -> ?reply_to:int option -> unit -> audio
Prepare an `audio` for sending -- used in the case of a file id
val prepare : audio -> string
Prepare an `audio` for sending -- used in the case of the raw bytes
val prepare_multipart : audio -> string -> string Lwt.t