import_contact_token()

async Client.import_contact_token()

Obtain user info from a temporary profile link token.

Usable by Users Bots
Parameters:

token (str) – The token extracted from the temporary profile link.

Returns:

User – The user object.

Example

user = await app.import_contact_token("token_123")