teleproto - v1.234.0
    Preparing search index...

    Interface ImportContactEntry

    One phone-book entry for TelegramClient.importContacts.

    interface ImportContactEntry {
        clientId?: number;
        firstName: string;
        lastName?: string;
        note?: string | TextWithEntities;
        phone: string;
    }
    Index
    clientId?: number

    Arbitrary 64-bit ID echoed back in the result to map imported entries. Defaults to the array index.

    firstName: string

    The contact's first name.

    lastName?: string

    The contact's last name.

    note?: string | TextWithEntities

    Private note about this contact, visible only to you.

    phone: string

    The contact's phone number.