tgsnake
Version:
Telegram MTProto framework for nodejs.
19 lines (18 loc) • 609 B
TypeScript
import { TLObject } from '../../TL.js';
import { Raw } from '../../../platform.node.js';
import type { Snake } from '../../../Client/index.js';
export declare class Contact extends TLObject {
phoneNumber: string;
firstName: string;
lastName?: string;
userId?: bigint;
vcard?: string;
constructor({ phoneNumber, firstName, lastName, userId, vcard, }: {
phoneNumber: string;
firstName: string;
lastName?: string;
userId?: bigint;
vcard?: string;
}, client: Snake);
static parse(client: Snake, contact: Raw.MessageMediaContact): Contact;
}