Note: This code can work on Telegram Web Version.
- Login in your telegram account in Firefox or Chrome via this link: https://web.telegram.org
- Press [ Ctrl+Shift+i ] to see Inspector
- Click on [Console] tab in inspector
- Choose your favorite group or chat
- Copy content of [historyBack.js] and paste it in console and press [Enter] key and it will load history. You can do this manually
- Repeat step 5 until your desired date
- Click on [Clear] button to have a better vision
- Copy content of [getStatics.js] and paste it in console and press [Enter] key
- Result will be shown in console. Select it by mouse and copy the result and have fun.
Feel free to copy and distribute these script. Be my guest :))