contacts.importContactToken

Obtain user info from a temporary profile link.

 Method schema is available as of layer 150. Switch ยป

Parameters

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

Result

User

Possible errors

Code Type Description
400 IMPORT_TOKEN_INVALID The specified token is invalid.

Related pages

Deep links

Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.