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.3.tar.gz
.
File metadata
- Download URL: telegram-send-0.3.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b17dab3895559029d9705dcaf28860cea787a6efb9cc001e5dba82184271f30 |
|
MD5 | f7ebbddbe563d1db704196581281d79e |
|
BLAKE2b-256 | 215b3c0d09ec7652a81733a7448ec45aa4c3d0abdcb2ffdfccea816c2d4f65be |
File details
Details for the file telegram_send-0.3-py3-none-any.whl
.
File metadata
- Download URL: telegram_send-0.3-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c804edd4fc395a9ba82a3acaff2389a44d4ef3e1abbcea3df29263b8af6fbb40 |
|
MD5 | 41d106f9fa6434aa8e0085ccac147c0b |
|
BLAKE2b-256 | 9a2a9a90ea639bee70da7566663e51da17af2a31151ab2831fa83fe066e40ee7 |