shady2k / logseq-inbox-telegram-plugin

MIT License
82 stars 6 forks source link

Messages from other Group Users #25

Open svndco opened 2 years ago

svndco commented 2 years ago

Should all members of a group even bot messages be sent over the plugin to logseq? Currently for me only my messages show in Logseq but my IFTTT bot does not.

shady2k commented 2 years ago

You should try: Write BotFather /setprivacy command and set it to DISABLED

svndco commented 2 years ago

I changed the BotFather privacy to disabled but the issue I am running into is that my TELEGRAMINBOX_bot is set to disabled but the other bot I am using is IFTTT_bot and I don't have the ability to adjust the privacy of this bott so the messages from IFTTT_bot don't seem to be picked up by my TELEGRAMINBOX_bot.

Any thoughts?

bGZo commented 1 month ago

Hello, I test this problem today, and I notice the message which bot send to bot in group would be ignored in this api.

https://api.telegram.org/xxx:xxx/getUpdates

My use case is: rssBot send message to group, then logseqBot(has set privacy disabled) should forward message to graph, but actually api return nothing at all.

Whereas receiving the message from others in groups could handled, when we don't want to set username (due to bother by others), so I make a little changes to plugin, which could receiving all message in group.

via PR: https://github.com/shady2k/logseq-inbox-telegram-plugin/pull/44

By the way, if you're admin of chat which you created, you only could send message with username of GroupAnonymousBot, so add this into authorizedUsers could works. I notice readme file not mentioned this.