Answer the question
In order to leave comments, you need to log in
Can a telegram bot completely clear the dialogue with the user?
I use the telebot library, how can I make sure that after the message your application is accepted, the bot completely erases the entire dialogue?
@bot.message_handler(func=lambda m: True)
def error(message):
bot.forward_message(-501560468, message.chat.id, message.message_id)
bot.send_message(message.chat.id, 'Your request has been accepted, wait')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question