package telegraml

  1. Overview
  2. Docs
type video = {
  1. file_id : string;
  2. width : int;
  3. height : int;
  4. duration : int;
  5. thumb : PhotoSize.photo_size option;
  6. mime_type : string option;
  7. file_size : int option;
}

Represents a video file sent in a message

val create : file_id:string -> width:int -> height:int -> duration:int -> ?thumb:PhotoSize.photo_size option -> ?mime_type:string option -> ?file_size:int option -> unit -> video

Create a video in a concise manner

Read a video out of some JSON

val read : Yojson.Safe.json -> video

Read a video out of some JSON

module Out : sig ... end

This module deals with outgoing video messages

OCaml

Innovation. Community. Security.