Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/types/0_contact.ts>Contact

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface Contact
import { type Contact } from "https://deno.land/x/mtkruto@0.0.982/types/0_contact.ts";

This object represents a phone contact.

Properties

phoneNumber: string

Contact's phone number

firstName: string

Contact's first name

optional
lastName: string

Contact's last name

optional
userId: number

Contact's user identifier in Telegram. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.

optional
vcard: string

Additional data about the contact in the form of a vCard