Module TelegramApi.Document.Out

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

type document = {
   chat_id : int;
   document : string;
   disable_notification : bool;
   reply_to_message_id : int option;
   reply_markup : TelegramApi.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
val create : chat_id:int ->
document:string ->
?disable_notification:bool ->
?reply_to:int option ->
?reply_markup:TelegramApi.ReplyMarkup.reply_markup option ->
unit -> document
Create a document in a concise manner

Prepare a document for sending -- used in the case of a file id

val prepare : document -> string
Prepare a document for sending -- used in the case of the raw bytes
val prepare_multipart : document -> string -> string Lwt.t