A
A
Alexander2018-02-28 19:20:21
Python
Alexander, 2018-02-28 19:20:21

Is it possible to monitor a telegram channel with a bot?

There is a need to sort messages in a telegram channel using a bot, searching new channel messages for certain keywords, thus filtering out information that is not interesting to me. Please tell me where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2018-03-01
@OlegPyatakov

Option 1. Use Telegram Bot API. The easiest option. There are many tutorials and ready-made libraries. A critical disadvantage is that the bot through the Bot API will not see messages from other bots in this channel (for example, when the channel author uses the bot for posting).
Option 2: Simulate a Telegram client. Ready-made libraries / clients are also available, but much less common. There are much fewer tutorials.
Option 3. Find a web service that monitors Telegram channels, for example, for the purpose of issuing a feed (that is, one who has already implemented option #2), and take data from it through web parsing or api (if any).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question