V
V
Vitaliy445s2022-01-24 15:00:22
Python
Vitaliy445s, 2022-01-24 15:00:22

How to send a delayed message in telegram bot?

It is necessary that the bot sends a message with a delay of several seconds. How is it possible to do this? (Not using sleep())
Used this method:

t = threading.Timer(2.0, func, [chat_user_id])
    t.start()

Is there an easier method?
using telebot

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question