Module TelegramApi.PhotoSize

module PhotoSize: sig .. end
This module is used for all images sent in chats

type photo_size = {
   file_id : string;
   width : int;
   height : int;
   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

val read : Yojson.Safe.json -> photo_size
module Out: sig .. end
This module is used to deal with outgoing photo messages