How to auto forward or copy messages of telegram group/channel
ฝัง
- เผยแพร่เมื่อ 24 ส.ค. 2024
- I am showing how to use Python to automatically forward or copy specific messages from one group/channel to another group/channel on Telegram.
👉GET THE COURSE FOR SOCIAL MEDIA AUTOMATION: www.udemy.com/...
HERE ARE THE LINKS YOU NEED 👇
⚫topnotch-progr...
Let's connect on other platforms👇
🔵LinkedIn: / rediandev
🔵Join Telegram Channel: t.me/topnotchp...
#telegram #telethon #forward
PLEASE BE AWARE WHILE USING THESE SCRIPTS, AND ALWAYS TEST FIRST BEFORE USING IN PRODUCTION!
I put some effort on these videos so a subscribe would help a lot ❤
Bro, i somehow lost my account after using. At least it was my second Account. Probably got banned 😂
I would like to Forward or Copy messages from source group to designation group 24/7.
How to Host the same script on server?
how to solve this problem ?
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
Your running this command at the wrong folder, as the output says... Just navigate to the right folder where the reqs file located
I treid to set this up and then my TG number got banned once it was set up. It must not like something about this code.
Thanks for sharing the script and a video of the same. It's helped me a lot.
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
Same, did you found the solution?
Thank you for your project! But I want to know, can I forward photos/videos/files rather than text?
Yes, you can but need to add some lines to the code.
@@misaelluisjuan1546 any hints on how
bot which forwards a specific user’s messages?
Than how to make cleaner filter, forword the message without the photos
Hi can you help me when i choose list groups it on gives me the top chat group id and not the rest i get an error code
UnicodeEncodeError: 'charmap' codec can't encode characters in position 32-36: character maps to
help me
i get a error when the message tries to send
An invalid Peer was used.
can u help? everything else works but it wont forward the messages
same
Lol now that I think about it, this bot can be used for trading signals
Hello, every time i try to write ( pip3 install -r requirements.txt ) and hit enter i see this message ( ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt' ) i'm using Windows 11 and i'm so new in vs code and python
Same, did you solve it?
Instead of pip3 do pip
where is the source code?
i cant find
I got banned after runing it. what should ı do?
not found
can channel owner know that we are forwarding the messages to another one? great work by the way 👍
thats my question, did channel owner know that ???
Right after I installed the bot and input source and destination of channels my Telegram account got banned immediately
Same here
Thanks I want to know why error are poping up when I put a message in and pram exit and the list of chat I'd aren't coming up either though I managed to get hold of them
Same here e
shqipe bravo per keto video faleminderit shumm ❤
Thank you shqipe
I got banned almost instantly after running it, any ideas as to why? I thought bots like this are perfectly legal on Telegram.
That's surprising, I suppose the key is how to make the script run like it's operated by a user
That’s strange, because this bot is actually just doing things that normal user does. Check if your account was brand new or try to use telegram premium.
@@topnotchprogrammer maybe a video that shows when a scraping script is likely to flagged as a bot and available options to make a script seem more human, as in what most likely triggers anti bot software would be cool
Dude, were you able to open your banned accounts?
@@topnotchprogrammer hey man, do you think the ban is for forwarding the message or will reading it be a flag for suspicious behaviors as well? I'm planning on modifying this a bit and sending the message on some other platform or chat and not on telegram
I had to use command python instead of python 3
Yes that worked thanks
can i add multiple destination and how ?
You find?
how to analyze more than one group?
Is it possible to forward messages if I am not the admin of that group?
Same question ❓
You got any way?
Yes, as long as you are a member of that group and able to send messages to it
@@itsliszt I'm unable to.
I am a member in a channel where I can't send messages, I want to forward all those contents to another channel of mine for backup or to save it with me. Is this possible?
It will not run for 24 hours? Is there any way to run that code using the cloud processing?
this is a great instructional video. TYSM for sharing!! QQ, is there anyway to forward messages from multiple channels to one channel? TIA.
It seems to only work on groups but doesnt accept a channel why is that? How can i fix it
'pip3' is not recognized as an internal or external command,
operable program or batch file. error
Make sure you have python3 installed in your computer, while installing you have to make sure you check the box in the exe setup: Add python to path
Can also forwarded the message if the bot is one is messaging?
wath therminal you use i like it
using this 2 accounts dead
will the code still run if I am removed from the original channel
Is it possible to also have this script forward images with the messages?
Will it forward old messages in the channel
Awesome vid bro, subbed
One thing tho it forwards msg from 1 group to another but when I try to forward stuff from channel to channel it does not work? any solution to this
how can i find the code again? not on github anymore?
Hi, When I select Option 1, only few chat lists are shown.
And this error "UnicodeEncodeError: 'charmap' codec can't encode characters in position 41-42: character maps to ".
Can someone please help?
Solution:
chats_file = open(f"chats_of_{self.phone_number}.txt", "w",encoding="utf-8")
How to host that script 24/7
just use a hosting platform like replit
How can I replace a custom emoji to another one that I need?
Exactly what I need
How can i translate this message forward
Hi. This also works to forwarding videos and photos?
I tried it. It doesn't. That was the single reason I tried :/
Is it working while offline?
My account is also banned
But why
@@NancyShaw-dg7lsnew accounts
Bakchodi kroge to , pele bhi jaoge 😔🤣
Your phone number will got banned
I want to copy from topic id to channel id
help me
I used Windows and it did not work. It said:
pip3 : The term 'pip3' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
1. Make sure if you have python3 installed on windows.
2. Make sure you check ‘add python to path’ while installing python.
3. An easy way is just to install python 3 from microsoft store
@@topnotchprogrammer Thank you very much!. That worked but another problem came:
I put a space to separate dot py and dot sync so TH-cam doesn't delete
python TelegramForwarder .py or python3 TelegramForwarder .py gave this error:
Traceback (most recent call last):
File "C:\Users\Ekene\Desktop\Telegram-Autoforwarder-master\TelegramForwarder .py", line 3, in
from telethon .sync import TelegramClient
ModuleNotFoundError: No module named 'telethon'
@@topnotchprogrammer Thank you. It worked
@@topnotchprogrammer But I got another issue. It does not list all the chats / groups / channels
I’m getting an error when I’m trying to add the chats
thanks for the script, it forward only the text without the images, IF you have any solution to forward all include the image i love too, thanks
Can it forward to Forums?
Do I need to keep my PC on
yes
dose it work in restricted channels ?
This is exactly what I need! However, when I run the bot, I receive the following error message:
raise ValueError(ValueError: Could not find the input entity for PeerUser(user_id="here is the user_ID_number") (PeerUser).
What does that mean? It correctly identified a message I want to forward, but it then raised this error...
Also, would it in theory be possible to only extract one specific word from the message and forward it, e.g., the second line of the message? This would be amazing.
did u ever figure this out?
only show the last chat on chat list ID
source code link pls
Very interesting tool, mate.
You've been a great inspiration to my python journey.
I've got a similar script that forwards messages using multiple users.
Awesome stuff
Tools broken
❤