F
F
flex7r2020-02-06 00:01:09
Python
flex7r, 2020-02-06 00:01:09

How to check for an integer in telebot?

-How to make the bot wait for an integer input from the user, and ignore the rest of the messages
Telebot library

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2020-02-06
@flex7r

if message.text.isdigit():

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question