I wrote a bot that change name of the telegram channel every N minutes But, when name of the channel is changed telegram automaticly send message, that channel name has been changed
i tried bot.delete_message command, but could't figure out how to delete that exact message
To delete the message that Telegram sends automatically when the channel name is changed, you can use the channel_post_handler decorator provided by the Telebot library to intercept and delete these messages.
Example: bot.py
changer.py