module Out:sig
..end
type
document = {
|
chat_id : |
|
document : |
|
disable_notification : |
|
reply_to_message_id : |
|
reply_markup : |
document
field can either be an existing file id or the raw bytes from a fileval create : chat_id:int ->
document:string ->
?disable_notification:bool ->
?reply_to:int option ->
?reply_markup:TelegramApi.ReplyMarkup.reply_markup option ->
unit -> document
document
in a concise manner
Prepare a document
for sending -- used in the case of a file id
val prepare : document -> string
document
for sending -- used in the case of the raw bytesval prepare_multipart : document -> string -> string Lwt.t