Raw.InputPhoneContact

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 : 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 clientIds returned in contacts.importedcontacts.retryContacts.

  • phone : string

    Phone number

  • firstName : string

    Contact’s first name

  • lastName : string

    Contact’s last name