Properly update Telegram

In Ubuntu 18.04 and earlier open the terminal and type:

sudo apt install telegram-desktop

You don't have the Telegram snap package from the Ubuntu Software application installed. If you want to install the latest stable version of Telegram, the name of the snap package to install is telegram-desktop and the commands to install it are:

sudo apt install snapd  
sudo snap install telegram-desktop

Telegram is a popular messaging protocol with encryption and security as its key focus. telegram-sergiusens is the latest version of Telegram, the same version as the Telegram file that is available at the official Telegram website. The command to update telegram-desktop is:

sudo snap refresh telegram-desktop   

I have Ubuntu 18.04.4 LTS. At first, I installed Telegram Desktop by typing

sudo apt-get install telegram-desktop

in the command-line but it installed a very old version and I couldn't update it. Then I deleted it (sudo apt remove telegram-desktop) and installed it via snap again:

sudo snap install telegram-desktop

This command managed to install the latest version and it even makes it possible to update it via:

sudo snap refresh telegram-desktop

NOTE: if you don't have snap on your system, just install it before installing Telegram Desktop:

sudo apt-get install snapd