vlad324 / listen4me-bot

Listen4Me bot converts audio messages into text.
MIT License
15 stars 1 forks source link

Telegram bot restricted access #1

Open rickitaly opened 2 months ago

rickitaly commented 2 months ago

Hello, i just deployed the app and it works very nicely! I only have a doubt about the telegram bot, how can i restrict the access only to me (and maybe additional users i choose)?

vlad324 commented 2 months ago

Hello @rickitaly Glad to hear that it works for you and thanks for the feedback, restriction of the bot is a really good idea 👍🏻 I will check what is possible to do

rickitaly commented 2 months ago

Hi! I think the easiest way is with the allowed chat ids, same as home assistant integration: https://www.home-assistant.io/integrations/telegram/

vlad324 commented 2 months ago

Thanks for pointing me to the Home Assistant integration!

I have just committed changes for access restriction: commit link. Let me know if it works :)

I would also be happy to hear any other improvement suggestions you might have

rickitaly commented 2 months ago

I think that in terms of functionalities the core is great, it does what it is expected to do ;-) . Making the configuration available in a webapp (also with logs and everything) would be nice to have but i would not invest that much on that. One thing could be the possibility of giving back a summary of the message content instead of the full transcription, for long messages (don't you have friends that send 5 min messages? ;-) ) But that would require some kind of interaction that would break the simple "forward" action, so i am not sure how it could work. Instead it could be really useful to have a more detailed guide for the Whatsapp bot creation process on the meta developers portal. I think went through but i have no idea how i did it, and i am not sure it will work for long time... And what about releasing also an already compiled docker image at ghcr.io or docker.io that can be run directly? Thanks again!