I need to save all text-data from a public channel of telegram in a text file. (so I can do some analysis on it later) is it possible to write a bot that can do such thing?
There is a project https://github.com/xtrime-ru/TelegramApiServer that allows you to fetch Telegram public channel in forms of JSON.
Its testing site is https://tg.i-c-a.su/
Follow the instruction below:
Everything (Docs, Medias, Chats, ...) will be exported in the desired folder.
Done!
It's possible only for groups. If you disable privacy mode for the bot. But channels don't allow it. You can add bot as administrator of channel, but bot won't receive messages sending by other administrators.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With