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.1.0/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

optional
vcard: string

Additional data about the contact in the form of a vCard