Answer the question
In order to leave comments, you need to log in
I can't legit the Telegram bot, error 404, what's wrong???
Vpnka works, the token is accurate, there are no errors.
Help plz...
import requests
token = 'such-and-such'
main_url=f' https://api.telegram.org/bot{token} '
r = requests.get(f'{main_url}/getMy')
print( r.json())
{'ok': False, 'error_code': 404, 'description': 'Not Found'}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question