I need to show telegram channel posts in a website. but I don't know how to export telegram channel into xml. I need to have both texts and images and also other files and media like mp4 - pdf or other things. Is there any way to do that?
In three steps:
@botfather
. Then add bot to channel. (There is no need to make bot admin.)For second step i suggest you to use python. there are some modules that can deal with bots.i think in your case telepot
can be simplest module that do everything you need.
For third step you must add more details about your site back-end. anyway i suggest you to write a Restful API for back-end and send posts to site with python requests
module.
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