package telegraml

  1. Overview
  2. Docs

This module is used for all images sent in chats

type photo_size = {
  1. file_id : string;
  2. width : int;
  3. height : int;
  4. file_size : int option;
}

Represents any kind of image sent in a message or used as a thumbnail, profile picture, etc.

val create : file_id:string -> width:int -> height:int -> ?file_size:int option -> unit -> photo_size

Create a photo_size in a concise manner

Read a photo_size out of some JSON

Read a photo_size out of some JSON

module Out : sig ... end

This module is used to deal with outgoing photo messages

OCaml

Innovation. Community. Security.