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

x/mtkruto/tl/2_types.ts>InputPhoneContact_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class InputPhoneContact_
import { InputPhoneContact_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Phone contact.

Constructors

new
InputPhoneContact_(params: { client_id: bigint; phone: string; first_name: string; last_name: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
client_id: bigint

An arbitrary 64-bit integer: it should be set, for example, to an incremental number when using contacts.importContacts, in order to retry importing only the contacts that weren't imported successfully, according to the client_ids returned in contacts.importedContacts.retry_contacts.

first_name: string

Contact's first name

last_name: string

Contact's last name

phone: string

Phone number

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc