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.4.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for telegram_send-0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84d463095e8015d072cdb94eade2497c357a9d145bbb782a24e9f21aa8f115a8 |
|
MD5 | d29879314ae9eefed72c977693f3d604 |
|
BLAKE2b-256 | a4e4a19eef9852b50773cbac2d32963a54509b54cd090afa8f71c135cc467909 |