Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a state for chat-group ids? #312

Open
Streifi89 opened this issue Apr 8, 2022 · 5 comments
Open

Create a state for chat-group ids? #312

Streifi89 opened this issue Apr 8, 2022 · 5 comments

Comments

@Streifi89
Copy link

Streifi89 commented Apr 8, 2022

Is your feature request related to a problem? Please describe.

Some Adapters would only use states from other adapters, for example Devicereminder which is clearly the best solution, imho.

Enhancement: Issue77

I think, there is no option, to authenticate with the bot in chatgroup, to add the chatgroup-ID to Authenticated Users (telegram.0.communicate.users) for security reasons (Telegram-API)?

Describe the solution you'd like
Manual add Chatgroup-IDs to telegram adapter besides the authenticated users?

Describe alternatives you've considered
Maybe there is an solution from telegram-api to authenticate with a bot in a chat group (didn't find anything regarding this point)

@klein0r
Copy link
Contributor

klein0r commented May 23, 2022

You can add a bot to a group and you will get all messages in that group when the privacy mode is configured correctly on the bot: https://core.telegram.org/bots#privacy-mode

@Streifi89
Copy link
Author

Streifi89 commented Jun 4, 2022

You can add a bot to a group and you will get all messages in that group when the privacy mode is configured correctly on the bot: https://core.telegram.org/bots#privacy-mode

Thats not the problem. At the moment, i can tell bot, to post messages to chat-id-group in JS, Blockly, whatever. But some Adapters need a datapoint, or better would have ;-)

At the moment, there are only the IDs from the authenticated users stored in telegram.0.communicate.users

@klein0r
Copy link
Contributor

klein0r commented Jun 4, 2022

Can you explain the process? The telegram adapter should provide a new state for text messages, which should be send to a configured group within the adapter? Sounds a bit too complicated, since the other adapter (device reminder) can just add a configuration for a group id (as suggested here Xenon-s/ioBroker.device-reminder#77 (comment))

@Streifi89
Copy link
Author

Streifi89 commented Jun 4, 2022

I think, the easiest way would be, to add a new state with Chat-IDs? Maybe with simple GUI frontend to add chat-ids manual in telegram adapter?
Example: telegram.0.communicate.chatids

benefit: another adapters can use the state from telegram adapter, all telegram configurations are configured directly in telegram adapter :D

@stale
Copy link

stale bot commented Sep 9, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions.
Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

@stale stale bot added the wontfix label Sep 9, 2022
@mcm1957 mcm1957 changed the title Create a data-point for chat-group ids? Create a state for chat-group ids? May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants