Answer the question
In order to leave comments, you need to log in
Hello, I ran into a problem, I want to write a weather forecast for a telebot on my code does not work?
how to make the program check on the telebot whether the user wrote his city correctly, if he enters his city incorrectly, the user receives a notification
how to do this
Answer the question
In order to leave comments, you need to log in
I want to write a weather forecast
how to do it
Start with a problematic, describe the specific problem you want to solve.
If the question is how to validate the city that the user wrote, then look towards the FIAS, try the API of the Dadata service . As an option - display a list of buttons with cities that are similar to what the user wrote.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question