- open up tdesktop (ie the Telegram desktop client)
- go to your favorite group
- export all messages as json -- you can skip all media
- head to wherever tdesktop downloaded it to -- maybe Downloads/ChatExport_yyyy-mm-dd/
- run generate.py there
- optionally: weep a little