inputPhoneContact
Phone contact.
type tg.InputPhoneContact struct { /* ... */ }
Fieldsโ
| Name | Type | Required | Description |
|---|---|---|---|
ClientID | int64 | yes | 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 client_ids returned in contacts importedContacts.retry_contacts. |
Phone | string | yes | Phone number |
FirstName | string | yes | Contact's first name |
LastName | string | yes | Contact's last name |
Note | TextWithEntities | โ | A private note for this contact, only visible to us; see here ยป for more info on contact notes. |
Referencesโ
- Official documentation
- Generated Go reference
- TL definition:
inputPhoneContact#6a1dc4be