A
A
Anatoly Belousov2021-10-10 20:57:35
Python
Anatoly Belousov, 2021-10-10 20:57:35

Bot setup?

Good day! The fact is that if you write a message to the bot while it is not working, after turning it on, it will answer them.
Is there any way to make it ignore such messages? I am using the PyTelegramBotApi library .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2021-10-10
@SoreMix

When creating a bot, pass a parameterskip_pending=True

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question