spkesDE / com.spkes.telegramNotifications

GNU General Public License v3.0
4 stars 4 forks source link

Telegram group Topics #14

Closed cuteroadkill closed 1 year ago

cuteroadkill commented 1 year ago

Suggestion to be able to send to Group chat Topics.

Send Message to Chat into Topic Create Topic in Chat

or

Send Message to Chat into Topic in Chat (if topic already existing)

enyineer commented 1 year ago

@spkesDE first of all, thank you for this awesome app. I first thought about implementing my own - but your's is almost perfect for my needs. So why reinvent the wheel?

One issue I have though is with the topics and the commands. I'd like to distinguish the "A message from topic is received" for each topic (not chat), as I'd like to split out each zone into it's own topic. I can already chose each topic as the originating chat:

tg-flow

However, all cards get triggered even if the message was written into one topic.

This is what my topics look like:

tg-topics

Am I using the card wrong or is that not implemented yet?

My first thought was to just use commands (like /wohnzimmer) and to set them as available commands via Botfather. The problem is that the bot overrides these commands after some time / restart of the app. So this isn't working either.

Any good suggestions?

enyineer commented 1 year ago

I have proposed #23 for fixing the topic filter in the receive-message-from-chat trigger card.

spkesDE commented 1 year ago

See #23 for my answer :)