I am trying to show telegram channel's post on wordrpess website.
I had a look over the telegram api documentation but, I did not get any API Or Any solutions.
Related
I'm setting up a PubSubHubbub subscription on a Wordpress blog using the tutorial here, which states that the information about the hub is included in the feed "using an atom:link tag with a rel='hub' attribute". However, the blog I want to subscribe to (link here) does not have the rel='hub' attribute. Does it mean there is no way to get PuSH notification about it please? Could I set up a hub myself and link it to the atom address? Thanks.
I have a bot which creates messages including some urls provided by users.
Telegram creates link previews for those urls. The previews are cached.
Sometimes the content of the url changes, then the preview provided by Telegram is outdated. So I need to update the link preview provided by Telegram.
Telegram link previews can be updated using https://telegram.me/webpagebot. But according to Telegram Bot API, a bot can't talk to another bot to avoid infinite loops. So opening a chat between my bot and webpagebot to request the update is not an option.
How could I force the update of a link preview from my bot? Is there some http request, API, or whatever to do it programmatically?
You may add a randomly generated variable to the end of the link, so Telegram looks a link as a new link, like this:
Suppose a old link is like:
https://example.com/offers/106-tatasky-recharge
If you change og_image, title, meta description of this page, then use the above link as:
https://example.com/offers/106-tatasky-recharge?t=18121980
I think, it solves the problem.
Is it possible to get my telegram channel's "Recent Actions"?
Main reason for doing that, is to get members who joined the channel or left it.
Any suggestions?
It didn't supported by bot API, and no existing library can do this.
You can use channels.getAdminLog#33ddf480 in MTProto.
i have a bot and want to get last posts from a telegram channel that isn't joined on in. if that's bot add into channel administrator it's possible, but It is not possible for me.
how should i do it?
It's impossible with current Telegram Bots APIs.
The bot must be administrator of the channel to handle channel posts.
I want to show my telegram channel contents in my wordpress website.
Is any way exist for stream telegram channel contents to my wordpress?
It is possible with Telegram Bot API. Basic idea:
Create a bot that can post to your channel;
Create an interaction layer between your site and the bot (for example, REST API);
Post something via your bot;
As soon as you post, your bot should send the post to both channel and website.
Also this can be done with the console client (channel_history command).
You can use this plugin : 'TelegramsChannelToWP'
first you must get API-key from :
http://en.tele-wall.ir/api/register/
then enter your site and your favorite channel
install plugin TelegramsChannelToWp
in setting page enter api-key and channel's username
add TelegramsChannelToWp widget.
Finish
https://github.com/mahdizolqadr/TelegramsChannelToWP
You can take a look at WP Telegram. It works very well from WP to telegram; moreover, it provides widget to show telegram channel or group on WP.