Layer 220
InputPhoneContact
Phone contact.
constructor
inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact;
Parameters
| Name | Type | Description |
|---|---|---|
| ClientId | long | An arbitrary 64-bit integer: it should be set, for example, to an incremental number when using contacts. import Contacts, in order to retry importing only the contacts that weren't imported successfully, according to the client_ids returned in contacts. imported Contacts. retry_contacts. |
| Phone | string | Phone number |
| FirstName | string | Contact's first name |
| LastName | string | Contact's last name |
Returns
InputContactGogram Example
// Creating InputPhoneContact constructor obj := &tg.InputPhoneContact{ ClientId: int64(0), Phone: "...", FirstName: "...", LastName: "...", }