If installed for a single user you need to add ~/.local/bin to their path: echo 'PATH="$HOME/.local/bin:$PATH"' > ~/.profile Or if you want to install it for a single user (recommended): pip3 install telegram-send Install telegram-send system-wide with pip: sudo pip3 install telegram-send Telegram-send integrates into your file manager (Thunar, Nautilus and Nemo): To send an image with an optional caption (maximum file size of 10 MB): telegram-send -image photo.jpg -caption "The Moon at night" To send a file (maximum file size of 50 MB): telegram-send -file document.pdf Telegram-send -format html "fixed-width messages are also supported"įor more information on supported formatting, see the formatting documentation. To send a message using Markdown or HTML formatting: telegram-send -format markdown "Only the *bold* use _italics_" There is a maximum message length of 4096 characters, larger messages will beĪutomatically split up into smaller ones and sent separately. To send a message: telegram-send "hello, world" It provides a simple interface thatĬan be easily called from other programs. Your account, to a group or to a channel. Telegram-send is a command-line tool to send messages and files over Telegram to
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |