package telegraml

  1. Overview
  2. Docs
type audio = {
  1. file_id : string;
  2. duration : int;
  3. performer : string option;
  4. title : string option;
  5. mime_type : string option;
  6. file_size : int option;
}

Represents an audio message (mp3)

val create : file_id:string -> duration:int -> ?performer:string option -> ?title:string option -> ?mime_type:string option -> ?file_size:int option -> unit -> audio

Create an audio in a concise manner

Read an audio out of some JSON

val read : Yojson.Safe.json -> audio

Read an audio out of some JSON

module Out : sig ... end

This module is used to deal with outgoing audio messages

OCaml

Innovation. Community. Security.