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