Answer the question
In order to leave comments, you need to log in
Telegram and Wordpress channel. How to broadcast?
Actually the idea itself. There is some channel in Telegram. And there is some website (blog) on Wordpress.
I would like to broadcast messages from the Telegram channel to some widget in the sidebar on the blog.
It should look something like a twitter feed. There are twitter feed widgets. But for Telegram, somehow I haven’t found this yet.
How to organize this? Maybe there is already ready somewhere ?!
Answer the question
In order to leave comments, you need to log in
There is a ready-made solution, just for Wordpress: blog.sk8er.name/rabota/wordpress-telegram
Use)
Well look. The bot api does not have the function of reading the message text from the channel, but it can be forwarded anywhere. I suggest that the bot forward the message to itself in PM. And only then, through get_updates, read the text of the message sent from the channel. A crutch, but it should work.
You can parse to the database and then broadcast to the widget, for example, as in the dock https://coderun.ru/blog/kak-parsit-telegram-kanal-...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question