I have 2 Telegram accounts and i want to have both of them on my pc. Telegram has an application for ubuntu. but it only supports one account at the time.
My question is, How can i duplicate this application to use 2 Telegram account?
You can simply run Telegram with a custom "working directory":
mkdir tel_account2 Telegram -many -workdir tel_account2
Download Franz. It allows you to run multiple accounts. It comes as a tgz file. Right click on it and Extract it. Open the extracted folder. Run Franz application. On the Franz windows you can see multiple account types and select Telegram.Give a name to your new Telegram.You can login to your new Telegram account in the new tab in Franz
First go to Telegram website and download Telegram tar.xz package. Extract it. Open the extracted folder. Then run Telegram application in the extracted folder.
If you are running Ubuntu 16.04 LTS you can install Telegram snap package too. Open the terminal and enter the below command and hit enter. Enter your password when prompted:
sudo snap install telegram-sergiusens
This will install Telegram snap package. You can use both of these separately.