Snap has an edge
track with a newer version than you get with the normal version.
Snap install will normally install version 3.4.3, but retrieving from the edge track, as in:
snap install --edge telegram-desktop
will yield version 3.4.8-45-g1e1f7be70 2022-01-28 .
You should probably get rid of the old first.
EDIT:
If you use the command which telegram-desktop
, it will tell you what one is first in line to be run.
The way it decides is by looking at the $PATH variable in ltr order. So if the paths in the list are /usr/bin:/bin:/usr/local/bin:~/.local/bin
, then a call to command
will first look for /usr/bin/program
. If it finds it, it will use that one. If not, it will try the next. If it makes it through the list without finding anything, it will give the error no such command
or something like that. This is how you can manipulate which version runs. Make sure it is the first one it sees.
Alternatively, you can run any version that you have installed by providing the full path on the command line.
One last tip: For snaps, you can use the command snap info name
to find out version info. Telegram-desktop doesnt have much of a command line interface, I guess because they also offer telegram-cli
as an option. They must expect users of the command line to grab that one.