
Send file with Telegram using telegram-cli
Original
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
--- Dependencies ---
- telegram-cli (https://github.com/vysheng/tg - available in AUR)
- kdialog
--- Instructions ---
1. install telegram-cli
2. login with telegram-cli
3. move "telegram-file-sender" script in ~/.script or edit the location in the .desktop file to where you want to keep the script
4. if you have manually downloaded the .desktop file, move it in ~/.local/share/kservices5/ServiceMenus
5. enjoy
manuelsongokuh
2 years ago
Report
alex-l
2 years ago
Report
manuelsongokuh
3 years ago
i love to use telegram but i wish to ask you: i did download normally to https://telegram.org/dl/desktop/linux file executive is telegram, so i think if you can add or fix for without "telegram-cli", is it possible?
instead telegram-cli is not good for my company (many users..so installing telegram-cli from github is long time)..
Report
alex-l
3 years ago
Alternatively find a convenient way to install telegram-cli: what's your distro?
Report
alpvonkri
3 years ago
do
contacts+="$i ";
done;
dest=$(kdialog --combobox Contact: $contacts;)
telegram-cli -W -e "send_file $dest '$1'"
kdialog --passivepopup "File sent to $dest";
exit 0;
--
Shows more chats and autofills the kdialog combobox with only one variable.
Hope it helps.
Report
alex-l
3 years ago
Report