sig
  type video = {
    file_id : string;
    width : int;
    height : int;
    duration : int;
    thumb : Api.PhotoSize.photo_size option;
    mime_type : string option;
    file_size : int option;
  }
  val create :
    file_id:string ->
    width:int ->
    height:int ->
    duration:int ->
    ?thumb:Api.PhotoSize.photo_size option ->
    ?mime_type:string option ->
    ?file_size:int option -> unit -> Api.Video.video
  val read : Yojson.Safe.json -> Api.Video.video
end