Raw.InputPhoneContact
Phone contact.
inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact;
export namespace Raw {
export class InputPhoneContact {
constructor(params: { clientId: bigint; phone: string; firstName: string; lastName: string }) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xf392b7f4
Property
clientId
: bigintAn 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 clientIds returned in contacts.importedcontacts.retryContacts.
phone
: stringPhone number
firstName
: stringContact’s first name
lastName
: stringContact’s last name