Add message_thread_id to telegram_text event

Hi, right now we can send a message or whatever to a topic with the param message_thread_id.

It will be nice to include the message_thread_id also when the event telegram_text is sent, so we can identify to which topic it belongs.

Given the docs it seems not possible: Telegram bot - Home Assistant

But I believe it would be easy to integrate as the message class already includes the param: python-telegram-bot/telegram/_message.py at 151123745e9e8d53c54fd6715008b3e8c85bdc82 · python-telegram-bot/python-telegram-bot · GitHub

Thanks for your great effort :slight_smile:

PR’s are welcome. This is Open Source Community Driven stuff.

1 Like

Ok, thanks! Add message_thread_id to telegram_text and telegram_command events by DrDonoso · Pull Request #130738 · home-assistant/core · GitHub