Resolve a phone number to get user info, if their privacy settings allow it.
Method schema is available as of layer 139. Switch ยป
Name | Type | Description |
---|---|---|
phone | string | Phone number in international format, possibly obtained from a phone number deep link. |
Code | Type | Description |
---|---|---|
400 | PHONE_NOT_OCCUPIED | No user is associated to the specified phone number. |
Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.