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

How do I use telegram-send to send to different chat_ids without an actual file? #66

Open
sundarkast opened this issue Apr 9, 2020 · 0 comments

Comments

@sundarkast
Copy link

I want to send to multiple users but don't want to put bot token in each file for security reasons. Is there a way to specify a single global config file with the bot token (/etc/telegram-send.conf), but specify the chat_id separately on command line?

Following doesn't work either:
telegram-send --config test.conf -g "test"
Missing options in config: chat_id

Thanks!

@sundarkast sundarkast changed the title How do I use telegram-send with specific config without an actual file? How do I use telegram-send to send to different chat_ids without an actual file? Apr 9, 2020
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

No branches or pull requests

1 participant