Skip to main content

inputPhoneContact

Phone contact.

type tg.InputPhoneContact struct { /* ... */ }

Fieldsโ€‹

NameTypeRequiredDescription
ClientIDint64yesAn 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.
PhonestringyesPhone number
FirstNamestringyesContact's first name
LastNamestringyesContact's last name
NoteTextWithEntitiesโ€”A private note for this contact, only visible to us; see here ยป for more info on contact notes.

Referencesโ€‹