Module

x/grammy/types.deno.ts>Contact

The Telegram Bot Framework.
Very Popular
Latest
interface Contact
import { type Contact } from "https://dotland.deno.dev/x/grammy@v1.31.0/types.deno.ts";

This object represents a phone contact.

Properties

phone_number: string

Contact's phone number

first_name: string

Contact's first name

optional
last_name: string

Contact's last name

optional
user_id: number

Contact's user identifier in Telegram.

optional
vcard: string

Additional data about the contact in the form of a vCard