package telegraml

  1. Overview
  2. Docs
type document = {
  1. file_id : string;
  2. thumb : PhotoSize.photo_size option;
  3. file_name : string option;
  4. mime_type : string option;
  5. file_size : int option;
}

Represents a general file sent in a message

val create : file_id:string -> ?thumb:PhotoSize.photo_size option -> ?file_name:string option -> ?mime_type:string option -> ?file_size:int option -> unit -> document

Create a document in a concise manner

Read a document out of some JSON

Read a document out of some JSON

module Out : sig ... end

This module is used to deal with outgoing documents

OCaml

Innovation. Community. Security.