Module TelegramApi.Contact

module Contact: sig .. end

type contact = {
   phone_number : string;
   first_name : string;
   last_name : string option;
   user_id : int option;
}
Represents a contact shared in a message
val create : phone_number:string ->
first_name:string ->
?last_name:string option ->
?user_id:int option -> unit -> contact
Create a contact in a concise manner

Read a contact out of some JSON

val read : Yojson.Safe.json -> contact
module Out: sig .. end
This module deals with outgoing contact messages