D
D
Darskiy2020-02-02 15:48:08
Python
Darskiy, 2020-02-02 15:48:08

How to teach telegram bot to repost publications from the channel to the user according to the filter set by him?

I am writing a telegram bot in python, how to teach the bot to search for information in the telegram channel using a user-specified filter (where posts will obviously be structured for search) and repost to the user, if at all possible?
There is a bot @Rent_kharkov_bot, which gives out by filters (number of rooms, price, area) houses and objects. How can this be implemented?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
semen-pro, 2020-02-02
@semen-pro

  1. Loop through posts
  2. Use regular expressions to select the necessary
  3. Repost
  4. PROFIT

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question