Open fedeb95 opened 6 years ago
Of course,
Try this:
msg_id="Test message" /bin/sh -c '[path where you have installed Telegram-cli]/telegram-cli -W -e "msg [chat_room you want to use] "$msg_ig'
Can Telegram-cli be used to add me with a script to channels to the invitations that my friends send me on Telegram?
@sonfrau thank you! Is there a place I missed that explains all the functionalities accessible this way? I'd also like, for example, to retrieve all messages sent to me and store them in a file. Is that possible?
I didn't find anything in the documentation, so if it's not possible this is a feature request. Is it possible to send messages from a script, something like this:
telegram-cli --send-message <user> <message>
Also access other functionalitis this way. Thanks