contacts.importContactToken

Obtain user info from a temporary profile link.

 اسکیمای روش از لایه 150 در دسترس است. تغییر »

Parameters

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

Result

User

Only users can use this method

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.