package telegraml
Module Voice.OutSource
This module is used to deal with outgoing voice messages
Source
type voice = {chat_id : int;voice : string;duration : int option;disable_notification : bool;reply_to_message_id : int option;reply_markup : ReplyMarkup.reply_markup option;
}Represents the outgoing voice message. Note that the voice field can either be an existing file id or the raw bytes from a file
Source
val create :
chat_id:int ->
voice:string ->
?duration:int option ->
?disable_notification:bool ->
?reply_to:int option ->
?reply_markup:ReplyMarkup.reply_markup option ->
unit ->
voiceCreate a voice in a concise manner
Prepare a voice for sending -- used in the case of a file id
Prepare a voice for sending -- used in the case of a file id
Prepare a voice for sending -- used in the case of the raw bytes