rahiel / telegram-send

Send messages and files over Telegram from the command-line.
https://www.rahielkasim.com/telegram-send/
GNU General Public License v3.0
933 stars 104 forks source link

Send messages to multiple groups? #51

Closed Trikos closed 5 years ago

Trikos commented 5 years ago

Hi, it's possible to send a same message in each group where the bot was added?

muhammadhanif commented 5 years ago

I am waiting for the feature.

rahiel commented 5 years ago

HI, you need to save the telegram-send configs for the different groups, and then use them in multiple commands, also see this answer: https://github.com/rahiel/telegram-send/issues/35#issuecomment-399922420

rahiel commented 5 years ago

Maybe I can add a feature to make this easier.

rahiel commented 5 years ago

Hi, it's possible to send a same message in each group where the bot was added?

@Trikos @muhammadhanif It is possible following these instructions: https://github.com/rahiel/telegram-send#how-to-send-the-same-message-to-multiple-users

Make sure that you first update to the latest version of telegram-send

muhammadhanif commented 5 years ago

Thank you @rahiel. You do a great work.

I am using telegram-send to send the latest earthquake information in Indonesian territory to the telegram (https://github.com/muhammadhanif/info-gempa-bumi-telegram).