Is it possible to obtain a phone number from a Telegram user ID using the Bot API?

Using Telegram Bot API, can I automatically fetch a user’s phone number by their Telegram ID? For example:

balance 9876543210

Expected command:

balance

I have looked into this extensive feature for a while and from my experience, it is not possible to retrieve a user’s phone number using the Telegram Bot API. Telegram has built-in privacy measures to protect personal data, which means that phone numbers are not made available through the API, even when you have a user’s Telegram ID. The only way to get this information is if the user explicitly shares their contact details. This limitation emphasizes Telegram’s commitment to user privacy and is a deliberate design choice in the API.