Skip to content

Comments

Do not process ANY messages from other Telegram Chats ≠ the bridged Chat ID#449

Open
oliveratgithub wants to merge 1 commit intoRITlug:mainfrom
zorgch:fix/stricter-telegram-chatid-filter
Open

Do not process ANY messages from other Telegram Chats ≠ the bridged Chat ID#449
oliveratgithub wants to merge 1 commit intoRITlug:mainfrom
zorgch:fix/stricter-telegram-chatid-filter

Conversation

@oliveratgithub
Copy link
Contributor

Discards any Messages form non-bridged Telegram Chat IDs the Bot «can read», but are not in scope. Better early prevention to process any arbitrary messages or objects.

Why?
Allows reusing an existing Telegram Bot, which is connected to multiple Chats.

Could also make the last step of the Quick Start Guide «Create bot with BotFather» obsolete / less critical:

  • Send /setjoingroups to @BotFather, change to Disable

Discards any Messages form non-bridged Telegram Chat IDs the Bot «can read», but are not in scope.
Better early prevention to process any arbitrary messages or objects.

Allows reusing an existing Telegram Bot, which is connected to multiple Chats.
Could also make the last step of the Quick Start Guide «Create bot with BotFather» obsolete / less critical:
~Send /setjoingroups to @Botfather, change to Disable~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants