Skip to content

GramIO API Reference / gramio/dist / TelegramContact

Interface: TelegramContact

Defined in: @gramio/types/out/objects.d.ts:1725

This object represents a phone contact.

Documentation

Properties

PropertyTypeDescriptionDefined in
first_namestringContact's first name@gramio/types/out/objects.d.ts:1733
last_name?stringOptional. Contact's last name@gramio/types/out/objects.d.ts:1737
phone_numberstringContact's phone number@gramio/types/out/objects.d.ts:1729
user_id?numberOptional. 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.@gramio/types/out/objects.d.ts:1741
vcard?stringOptional. Additional data about the contact in the form of a vCard@gramio/types/out/objects.d.ts:1745