package telegraml
Module TelegramApi.DocumentSource
Source
type document = {file_id : string;thumb : PhotoSize.photo_size option;file_name : string option;mime_type : string option;file_size : int option;
}Represents a general file sent in a message
Source
val create :
file_id:string ->
?thumb:PhotoSize.photo_size option ->
?file_name:string option ->
?mime_type:string option ->
?file_size:int option ->
unit ->
documentCreate a document in a concise manner
Read a document out of some JSON
Read a document out of some JSON