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
Built Distribution
File details
Details for the file telegram-send-0.4.tar.gz
.
File metadata
- Download URL: telegram-send-0.4.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a89b87feb4f01d038762c80d359e175fc4427cd8ff3b0051694aba288a9a1d96 |
|
MD5 | 9cfaa3e4cbc57f95736a2f9653d93884 |
|
BLAKE2b-256 | 642ca4dc4ae69389fb2656b9548badec9390a4903651865169896f11f4fb5117 |
File details
Details for the file telegram_send-0.4-py3-none-any.whl
.
File metadata
- Download URL: telegram_send-0.4-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84d463095e8015d072cdb94eade2497c357a9d145bbb782a24e9f21aa8f115a8 |
|
MD5 | d29879314ae9eefed72c977693f3d604 |
|
BLAKE2b-256 | a4e4a19eef9852b50773cbac2d32963a54509b54cd090afa8f71c135cc467909 |