Home>
We need the bot to send a message with a delay of a few seconds. How can this be done? (Not using sleep())
Used this method:t= threading.Timer(2.0, func, [chat_user_id])
Is there an easier way? using telebot
With the specified method, I created functions with one message, maybe there is a method that can be used all in one function (Sending messages with a delay)
Alex2022-01-24 12:32:11Related questions
- python : Telegram bot listening to another bot
- Trouble running telegram bot in Python!
- python : How to send a single message in response to the user via bot.send_message
- How to make the bot respond to commands in the telegram channel. Python, Telebot
- python : how to make text copy on click through telebot
- python : How to correctly call the inline function with a button in a telegram bot?
- number of keyboard buttons per line in keyboard under telebot python telegram message
- How to randomly open photos in Telegram Bot in Python?
- python : make sure that the buttons are not detected
Welcome! What do you mean by "easier". Add an explanation to the question itself, what you are looking for and what you want to achieve
Dmitry2022-01-24 12:21:08