A
A
Arthur2018-03-29 10:43:57
PHP
Arthur, 2018-03-29 10:43:57

Repost messages from channels to your channel Telegram api?

Good afternoon, can someone tell me how to implement this idea:
You need to repost messages from various channels to your channel.
Such tricks will not work with a bot, because there is no way to throw the bot into the admins everywhere.
A person who owns such a development shared a little algorithm of work, where, as I understand it, through the telegram app api, an account is connected, the account subscribes to the necessary channels, and then, roughly speaking, notifications are processed.
Can you tell me how to work with this at all in php, do you have any sketches or ready-made solutions for the telegram app api?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Talyan, 2018-03-29
@flapflapjack

Available on the official API site .
To work with the setWebHook method, google it. I spent all day yesterday trying to figure out how to upload the brains of a bot to heroku, how to work with this heroku, etc.
To work, you need a certificate - which is issued for free on heroku. If you have your own server - make a self-signed certificate and use it.
Also take a look at the @manybot bot - it can scrobble something itself and you can create the menu yourself without any technical knowledge.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question