Module TelegramApi.User

module User: sig .. end

type user = {
   id : int;
   first_name : string;
   last_name : string option;
   username : string option;
}
Represents a user profile
val create : id:int ->
first_name:string ->
?last_name:string option ->
?username:string option -> unit -> user
Create a user in a concise manner

Read a user out of some JSON

val read : Yojson.Safe.json -> user