se Telegram From Linux Command Line
se Telegram From Linux Command Line

Have a look on guide for how to use Telegram from Linux command line with the easy and simple guide using the commands in Linux. So have a look on complete guide discussed below to proceed.

Telegram is one of the most popular and used messaging software or the apps in the tech world right now and this is all because of the features and functions which it has dubbed inside. One of the unique features of this messaging app is it’s cloud based service which enables users to readily create the backup of their texts or messages and the other one is the strong encryption which is probably the most required part of any messaging app by the users. Using this software, one could also send the self-destructing messages too which is also quite amazing functionality. Telegram is available for Windows, Mac, and Linux and mostly every major smartphone OS and for all that platforms there is the availability of the official as well as the third party apps of Telegram. Now the Linux has the capability to remove the GUI part of any app and use it just through the command line, and like that only Telegram could also be used in such a way. For just a fun way or some other reason, if you also wish to play the telegram on the Linux through the command line, you need to follow some method. Here in this article, we have written the method, just follow the article to know about it.

Also Read: 5 Reasons Why Google Allo Is Better Than WhatsApp

How to Use Telegram From Linux Command Line

The method is very easy and straight and you need to follow some of the simple steps to proceed. So follow the below steps to proceed.

Also Read: How to Turn Off Facebook Live Notifications

Steps to Use Telegram From Linux Command Line:

1. First of all download the tool named telegram-cli to your Linux through using the commands:

“sudo apt-get install git libreadline-dev
libconfig-dev libssl-dev lua5.2-dev
libevent-dev libjansson-dev
libpython-dev
make git clone
–recursive https://github.com /vysheng/tg.git &&
cd tg /configure
sudo make”

Use Telegram From Linux Command Line
Use Telegram From Linux Command Line

2. Launch the tool that you have just downloaded to your device through the above commands by executing the another command:

cd bin
sudo./telegram-cli

You could probably face some errors while trying this command and if this happens for more times just comment the line number 101 in the “tgl/mtproto-utils.c” file and then try again the command and it shall work properly.

3. This app works with the phone numbers so you will have to provide yours, just take note of that give the working number because you would get the verification code on it using the tool. After filling the code you got on your mobile, this tool will be all set to run and you could then use up the Telegram through the command line.

4. Use the some of the basic commands which you will require to use so as to run the telegram:

msg [contact_name] [text] “this command helps to send your message to the particular contact”

fwd [user] [msg-seqno] “forwards message to the other contacts of your wish”

chat_with_peer [contact_name] ” start up the chat with particular contact”

add_contact [phone-number] [first-name] [last-name] “add new contact to your list”

rename_contact [user] [first-name] [last-name] ” rename any contact”

mark_read [contact_name] ” marks all messages received as read”

delete_msg [msg-seqno] “deletes the message”

restore_msg [msg-seqno] ” restores deleted messages”

Use Telegram From Linux Command Line
Use Telegram From Linux Command Line

Also Read: Top 5 Best Encrypted Messenger Apps for Android

This is the easiest way which could easily play the Telegram app using the commands on the Linux and perform the every related task to the app just from the commands, maybe it’s sending up the messages or receiving it all could be easily done through the above method. You would also like to use the telegram in such a way, and if yes then go apply up the method!



AUTHOR

Karanpreet Singh is the Co-Founder of Techviral. He writes about how to, tutorials especially on Android, iPhone, Computer, Internet, Social Networks, etc. Apart from this, he is an Ec-Council CEH (Certified Ethical Hacker) and a Digital Marketing Expert. He loves to share his knowledge with others through blogging.