Hello mate, is this what you are asking about? If it isn't let me know so I delete reply.
If you're trying to export your telegram contact as a CSV file is really a simple method if you follow these five steps. Here are the 5 simple and easy steps that can be used in doing so.
- Get group number.
- Fire off the API call to get your group members rendered to a JSON file.
- Convert the JSON file to a CSV file.
- Save the CSV file..
- Convert the CSV file to an Excel Workbook.
Source I haven't tried it but comments from other users says they used it and it worked