Layer 220
method Users
contacts.importContactToken#13005788 token:string = User;

Parameters

Name Type Description
Token string The token extracted from the temporary profile link.

Returns

User

Possible 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