I
I
ITpie2020-12-27 20:46:51
Python
ITpie, 2020-12-27 20:46:51

How to make a telegram bot in python read only new messages when launched?

I am making a telegram bot in python (telebot library) for a telegram group, I need it to read only new messages when starting the bot (which appeared after the bot was launched)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2020-12-27
@ITpie

bot = TeleBot('token', skip_pending=True)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question