Layer 220
ContactsImportContactToken
Obtain user info from a temporary profile link.
method
Users
contacts.importContactToken#13005788 token:string = User;
Parameters
| Name | Type | Description |
|---|---|---|
| Token | string | The token extracted from the temporary profile link. |
Returns
UserPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | IMPORT_TOKEN_INVALID | The specified token is invalid. |
Gogram Example
// ContactsImportContactToken - positional arguments result, err := client.ContactsImportContactToken("...") if err != nil { // handle error } // result is *tg.User