Answer the question
In order to leave comments, you need to log in
A bot that parses posts from the telegram channels I am a member of and reposts them to my channel. How?
It is necessary to write a bot that will monitor the updates of the channels in which I am a member (I am not an admin) and would repost (copy-paste) to my channel. Can anyone suggest where to dig?
Answer the question
In order to leave comments, you need to log in
For this, the Telethon library is suitable, which emulates the actions of a real user. You must be subscribed to the channel you are going to copy from, and then when you receive a message from that channel your program forwards it to your channel where you can write messages. You can look at my solution to this problem: https://github.com/AlGaRitm2020/telethon_forwarding . For permanent work, I ran this program from a virtual machine with the nohup python3 main.py command. It allows the program to work 24/7
This will not be a bot in the sense of the Telegram Bot API, but a bot in the classical sense of the word, that is, software that emulates a user of the service. Since telegram is open, you can take alternative clients, like telethon, for example, it will not be so difficult to implement the functionality of reading selected channels and posting any messages to your channels / chats
First of all, no matter how strange it sounds, go to Google, understand how it works, make a couple of tutorial bots, once you understand the essence, go to court
No way. :)
So says Google The
bot must be in the channel, so that he was in the channel of his channel ADMIN must be added to the channel with ADMIN rights
There is such a thing IFTTT, read more about it, the other day I was also looking for something similar.
Here are the links:
https://vk.com/page-64980878_50290680
https://habr.com/post/269819/
https://womenbz.ru/telegram_for_business
I would also try to look towards headless browsers ( puppeteer ) and the web version of telegram.
To the topic: Yegor Malkevich's report - (-- Stealing --) Extracting data from the Internet
For forwarding posts from public and private channels, groups, bots and users, @redirectsbot has proven itself well
From Ukraine it doesn’t ship at all, is it supposed to be like that? Or what's wrong!!!?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question