Module TelegramApi.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;
   disable_notification : bool;
   reply_to_message_id : int option;
   reply_markup : TelegramApi.ReplyMarkup.reply_markup 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
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 -> audio
Create an audio in a concise manner

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