pyTelegramBotAPI
pyTelegramBotAPI copied to clipboard
Can't detect new_chat_title
Please answer these questions before submitting your issue. Thanks!
- What version of pyTelegramBotAPI are you using? 3.1.1
- What OS are you using? Ubuntu 16.04 LTE
- What version of python are you using? 3.5.2
When I put this code, if I write some text, the information of "m" appears, but if I change the title of the supergroup, it does nothing.
@bot.message_handler (content_types = ['new_chat_title', 'text']) def nct (m): try: bot.send_message (m.chat.id, m) except Exception as e: print (e)
How do I know when a channel changes its title?
Thank you!