Export Telegram Contacts To Google CSV file
-
First you have to register at https://my.telegram.org/auth
-
Then you have to register an application for your phone at https://my.telegram.org/apps
-
Enter the retrieved 'api_id' and 'api_hash' in exporter.py
6. api_id = 1234
7. api_hash = "abcdefghigk"
- Install the necessary dependencies and run it
$ pip install requirements.txt
$ python exporter.py
-
Now you will get message from telegram team to confirm contact request, just press the Allow button at the bottom of the message.
-
Rerun exporter.py after 24hrs
-
Now you have contacts.csv file, import it at contacts.google.com
Cheers!!