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

x/mtkruto/3_types.ts>MessageContentContact

Cross-runtime JavaScript library for building Telegram clients
Latest
interface MessageContentContact
import { type MessageContentContact } from "https://deno.land/x/mtkruto@0.6.2/3_types.ts";

A message content that shares a contact.

Properties

type: "contact"
phoneNumber: string

The contact's phone number.

firstName: string

The contact's first name.

optional
lastName: string

The contact's last name.

optional
vcard: string

Additional information in the vCard format.