P
P
Profurset2017-02-12 00:26:16
Python
Profurset, 2017-02-12 00:26:16

API for forwarding a Telegram message?

Good day to all. A question arose ...
I need to write a program that, on my behalf, will connect to the telegram, constantly check for new messages from a particular channel and forward them to another. What API to implement it. I can't find anything, everything is connected with bots...
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kez, 2017-02-12
@kez

So, your task is to write your own telegram client application. It is worth looking in this direction.
Or you can use the ready- made telegram-cli application , along with this guide . In this case, you will need to write a wrapper in python, with bindings to some of the functions described in the guide.
I immediately warn that telegram-cli is slightly abandoned, but it processes messages properly.
Answering your unspoken question “ why are there so many articles about bots? ”, - the bot sends messages from one chat to another to make it much easier and more convenient .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question