Send messages and files over Telegram from the command-line.
Project description
telegram-send
Telegram-send is a command-line tool to send messages and files over Telegram to your account. It provides a simple interface that can be easily called from other programs.
Usage
To send a message:
telegram-send "hello, world"
To send a file:
telegram-send --file document.pdf
Install
Install telegram-send system-wide with pip:
sudo pip3 install telegram-send
Or if you want to install it for a single user:
pip3 install telegram-send
If installed for a single user you need to add ~/.local/bin to their path:
echo 'PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
And finally configure it with telegram-send --configure and follow the instructions.
Uninstall
sudo pip3 uninstall telegram-send
sudo rm /etc/telegram-send.conf
Or if you installed it for a single user:
pip3 uninstall telegram-send
rm ~/.config/telegram-send.conf
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
telegram-send-0.3.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for telegram_send-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c804edd4fc395a9ba82a3acaff2389a44d4ef3e1abbcea3df29263b8af6fbb40 |
|
MD5 | 41d106f9fa6434aa8e0085ccac147c0b |
|
BLAKE2b-256 | 9a2a9a90ea639bee70da7566663e51da17af2a31151ab2831fa83fe066e40ee7 |