package telegraml

  1. Overview
  2. Docs
type contact = {
  1. phone_number : string;
  2. first_name : string;
  3. last_name : string option;
  4. 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

Read a contact out of some JSON

module Out : sig ... end

This module deals with outgoing contact messages

OCaml

Innovation. Community. Security.