Closed lapers closed 2 years ago
Hi! Bot api does not allow clearing all messages in a chat. The link you gave is for userbots, which is not related to bot api. You can switch to telethon or pyrogram, and use this method. However, telebot is a bot api wrapper library, while telethon and pyrogram are wrappers for tdlib
Please answer these questions before submitting your issue. Thanks!
Could you please add nice method for clearing all chat messages? Here link to official docs: https://core.telegram.org/method/messages.deleteHistory