Access to Telegram API

Hello! Sorry for my Russian English. I'm using a free account. I've tried to access to

>>> requests.get('')

and got this

requests.exceptions.ProxyError: HTTPSConnectionPool(host='', port=443): Max retries exceeded with url: /bots (Caused by ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 403 Forbidden',)))

It shouldn't happen, because is contained in whitelist. Probably the reason is the redirection to Or maybe I'm doing something wrong?

That looks like it's not a valid API request so Telegram is redirecting you to the API documentation.

Yeah, you're right. Thank you!