How to auto forward or copy messages of telegram group/channel
Vložit
- čas přidán 30. 03. 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!
👉Learn how to automate and make money yourself with social media!
👉Learn python programming and selenium!
👉Learn how to apply automation in your business!
👉Join COURSE here: bit.ly/3VwBc6k
HERE ARE THE LINKS YOU NEED 👇
⚫topnotch-programmer.com/how-t...
Let's connect on other platforms👇
🔵Join Telegram Channel: t.me/topnotchprogrammer
🟣Instagram: / redian_
🔵Twitter: / rediandev
#telegram #telethon #forward - Věda a technologie
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 ❤
how to solve this problem ?
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
I would like to Forward or Copy messages from source group to designation group 24/7.
How to Host the same script on server?
Thank you for your project! But I want to know, can I forward photos/videos/files rather than text?
Exactly what I need
bot which forwards a specific user’s messages?
Thanks for sharing the script and a video of the same. It's helped me a lot.
can i add multiple destination and how ?
wath therminal you use i like it
Can also forwarded the message if the bot is one is messaging?
how can i find the code again? not on github anymore?
It seems to only work on groups but doesnt accept a channel why is that? How can i fix it
how to analyze more than one group?
Can it forward to Forums?
How can I replace a custom emoji to another one that I need?
I got banned after runing it. what should ı do?
shqipe bravo per keto video faleminderit shumm ❤
Thank you shqipe
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
Lol now that I think about it, this bot can be used for trading signals
How to host that script 24/7
dose it work in restricted channels ?
How can i translate this message forward
Is it possible to also have this script forward images with the messages?
this is a great instructional video. TYSM for sharing!! QQ, is there anyway to forward messages from multiple channels to one channel? TIA.
Nice, thx!
You got an idea how to forward messages if some post will be edited in group 1 and copy this edited post again in group 2 again as new message?
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
Same, did you found the solution?
I want to copy from topic id to channel id
help me
It will not run for 24 hours? Is there any way to run that code using the cloud processing?
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
UnicodeEncodeError: 'charmap' codec can't encode characters in position 32-36: character maps to
help me
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 ???
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
Is it working while offline?
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")
Bro, i somehow lost my account after using. At least it was my second Account. Probably got banned 😂
only show the last chat on chat list ID
'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
Right after I installed the bot and input source and destination of channels my Telegram account got banned immediately
Same here
Hi. This also works to forwarding videos and photos?
I tried it. It doesn't. That was the single reason I tried :/
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
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
man, can you share your version with multipe users?
using this 2 accounts dead
Tools broken
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?
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 CZcams 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
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?
I had to use command python instead of python 3
Yes that worked thanks
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
source code link pls
Your phone number will got banned
❤
My account is also banned
But why
@@NancyShaw-dg7lsnew accounts
Bakchodi kroge to , pele bhi jaoge 😔🤣