Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grammy_types/mod.ts>Contact

Type declarations of the Telegram Bot API.
Very Popular
Go to Latest
interface Contact
import { type Contact } from "https://deno.land/x/grammy_types@v3.5.2/mod.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