package telegraml
Module Audio.OutSource
This module is used to deal with outgoing audio messages
Source
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 : 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
Source
val create :
chat_id:int ->
audio:string ->
?duration:int option ->
performer:string ->
title:string ->
?disable_notification:bool ->
?reply_to:int option ->
?reply_markup:ReplyMarkup.reply_markup option ->
unit ->
audioCreate an audio in a concise manner
Prepare an audio for sending -- used in the case of a file id
Prepare an audio for sending -- used in the case of a file id
Prepare an audio for sending -- used in the case of the raw bytes