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

ความคิดเห็น • 103

  • @topnotchprogrammer
    @topnotchprogrammer  4 หลายเดือนก่อน +6

    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 ❤

  • @dennism2863
    @dennism2863 3 หลายเดือนก่อน +9

    Bro, i somehow lost my account after using. At least it was my second Account. Probably got banned 😂

  • @tulasisanjay
    @tulasisanjay 3 หลายเดือนก่อน +8

    I would like to Forward or Copy messages from source group to designation group 24/7.
    How to Host the same script on server?

  • @ceritadulu05
    @ceritadulu05 2 หลายเดือนก่อน +5

    how to solve this problem ?
    ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

    • @FromBeyoundToTheGrave
      @FromBeyoundToTheGrave 5 วันที่ผ่านมา

      Your running this command at the wrong folder, as the output says... Just navigate to the right folder where the reqs file located

  • @Cloud_TNT
    @Cloud_TNT หลายเดือนก่อน +1

    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.

  • @kibetehud9305
    @kibetehud9305 2 หลายเดือนก่อน +2

    Thanks for sharing the script and a video of the same. It's helped me a lot.

  • @user-oc8px1zd2x
    @user-oc8px1zd2x 4 หลายเดือนก่อน +3

    ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

  • @iamchan93
    @iamchan93 4 หลายเดือนก่อน +5

    Thank you for your project! But I want to know, can I forward photos/videos/files rather than text?

    • @misaelluisjuan1546
      @misaelluisjuan1546 หลายเดือนก่อน

      Yes, you can but need to add some lines to the code.

    • @chriszooker
      @chriszooker 22 วันที่ผ่านมา

      @@misaelluisjuan1546 any hints on how

  • @yanir.tzabary
    @yanir.tzabary 3 หลายเดือนก่อน +2

    bot which forwards a specific user’s messages?

  • @houcinegacem114
    @houcinegacem114 วันที่ผ่านมา

    Than how to make cleaner filter, forword the message without the photos

  • @jamesgladman211
    @jamesgladman211 5 วันที่ผ่านมา

    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

  • @alexsandror
    @alexsandror 4 หลายเดือนก่อน +2

    UnicodeEncodeError: 'charmap' codec can't encode characters in position 32-36: character maps to

  • @ninesar
    @ninesar 4 หลายเดือนก่อน +1

    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

  • @severalbowling3935
    @severalbowling3935 4 หลายเดือนก่อน +3

    Lol now that I think about it, this bot can be used for trading signals

  • @MZgamingYT
    @MZgamingYT 2 หลายเดือนก่อน +1

    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

    • @abdulqaderabduljalil9233
      @abdulqaderabduljalil9233 2 หลายเดือนก่อน

      Same, did you solve it?

    • @raghav3973
      @raghav3973 หลายเดือนก่อน

      Instead of pip3 do pip

    • @muhammeduk8834
      @muhammeduk8834 หลายเดือนก่อน

      where is the source code?
      i cant find

  • @oyuncugamer6159
    @oyuncugamer6159 3 หลายเดือนก่อน +1

    I got banned after runing it. what should ı do?

  • @weightlossviewer8364
    @weightlossviewer8364 5 วันที่ผ่านมา +1

    not found

  • @pocketgear
    @pocketgear หลายเดือนก่อน +1

    can channel owner know that we are forwarding the messages to another one? great work by the way 👍

    • @bussintrade5724
      @bussintrade5724 หลายเดือนก่อน +1

      thats my question, did channel owner know that ???

  • @danxity4132
    @danxity4132 2 หลายเดือนก่อน +1

    Right after I installed the bot and input source and destination of channels my Telegram account got banned immediately

  • @andrewgrech2458
    @andrewgrech2458 4 หลายเดือนก่อน +1

    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

  • @all3sbaba
    @all3sbaba 4 หลายเดือนก่อน +1

    shqipe bravo per keto video faleminderit shumm ❤

  • @jansmit4575
    @jansmit4575 4 หลายเดือนก่อน +2

    I got banned almost instantly after running it, any ideas as to why? I thought bots like this are perfectly legal on Telegram.

    • @SiyaMedia
      @SiyaMedia 4 หลายเดือนก่อน

      That's surprising, I suppose the key is how to make the script run like it's operated by a user

    • @topnotchprogrammer
      @topnotchprogrammer  4 หลายเดือนก่อน +3

      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.

    • @SiyaMedia
      @SiyaMedia 4 หลายเดือนก่อน

      @@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

    • @oyuncugamer6159
      @oyuncugamer6159 3 หลายเดือนก่อน

      Dude, were you able to open your banned accounts?

    • @AnifreakGedsparrow
      @AnifreakGedsparrow 3 หลายเดือนก่อน

      ​@@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

  • @andrewgrech2458
    @andrewgrech2458 4 หลายเดือนก่อน +2

    I had to use command python instead of python 3

    • @andrewgrech2458
      @andrewgrech2458 4 หลายเดือนก่อน

      Yes that worked thanks

  • @new_platforms
    @new_platforms หลายเดือนก่อน +1

    can i add multiple destination and how ?

  • @alexsandror
    @alexsandror 4 หลายเดือนก่อน +1

    how to analyze more than one group?

  • @yue-qy1jl
    @yue-qy1jl 3 หลายเดือนก่อน +4

    Is it possible to forward messages if I am not the admin of that group?

    • @fs9813
      @fs9813 3 หลายเดือนก่อน +2

      Same question ❓
      You got any way?

    • @itsliszt
      @itsliszt 2 หลายเดือนก่อน

      Yes, as long as you are a member of that group and able to send messages to it

    • @fs9813
      @fs9813 2 หลายเดือนก่อน

      @@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?

  • @MaskManReactions2025
    @MaskManReactions2025 หลายเดือนก่อน

    It will not run for 24 hours? Is there any way to run that code using the cloud processing?

  • @fxboss6255
    @fxboss6255 หลายเดือนก่อน

    this is a great instructional video. TYSM for sharing!! QQ, is there anyway to forward messages from multiple channels to one channel? TIA.

  • @andrewgrech2458
    @andrewgrech2458 4 หลายเดือนก่อน

    It seems to only work on groups but doesnt accept a channel why is that? How can i fix it

  • @Crxplays
    @Crxplays 4 หลายเดือนก่อน

    'pip3' is not recognized as an internal or external command,
    operable program or batch file. error

    • @topnotchprogrammer
      @topnotchprogrammer  4 หลายเดือนก่อน

      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

  • @commander4494
    @commander4494 หลายเดือนก่อน

    Can also forwarded the message if the bot is one is messaging?

  • @KristjanSaarsalu
    @KristjanSaarsalu 3 หลายเดือนก่อน

    wath therminal you use i like it

  • @bakanaman-hd1he
    @bakanaman-hd1he 4 หลายเดือนก่อน +3

    using this 2 accounts dead

  • @FxTrait
    @FxTrait 16 วันที่ผ่านมา

    will the code still run if I am removed from the original channel

  • @johnathanrigby1625
    @johnathanrigby1625 หลายเดือนก่อน

    Is it possible to also have this script forward images with the messages?

  • @itsMrH4X
    @itsMrH4X หลายเดือนก่อน

    Will it forward old messages in the channel

  • @thegodlike8569
    @thegodlike8569 16 วันที่ผ่านมา

    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

  • @Mateo-ri2gg
    @Mateo-ri2gg 3 หลายเดือนก่อน

    how can i find the code again? not on github anymore?

  • @kurapati1
    @kurapati1 หลายเดือนก่อน

    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")

  • @tulasisanjay
    @tulasisanjay 3 หลายเดือนก่อน +2

    How to host that script 24/7

    • @FaithValkye0090
      @FaithValkye0090 29 วันที่ผ่านมา

      just use a hosting platform like replit

  • @TheDeniskater
    @TheDeniskater 4 หลายเดือนก่อน

    How can I replace a custom emoji to another one that I need?

  • @user-cq6nf9fs5v
    @user-cq6nf9fs5v 4 หลายเดือนก่อน +4

    Exactly what I need

  • @goldcandles
    @goldcandles 3 หลายเดือนก่อน

    How can i translate this message forward

  • @user-zl5kt5pw3m
    @user-zl5kt5pw3m 4 หลายเดือนก่อน +1

    Hi. This also works to forwarding videos and photos?

    • @user-zl5kt5pw3m
      @user-zl5kt5pw3m 4 หลายเดือนก่อน +2

      I tried it. It doesn't. That was the single reason I tried :/

  • @tips97youtubearsi44
    @tips97youtubearsi44 หลายเดือนก่อน

    Is it working while offline?

  • @dudigureno5356
    @dudigureno5356 3 หลายเดือนก่อน +5

    My account is also banned

    • @NancyShaw-dg7ls
      @NancyShaw-dg7ls 3 หลายเดือนก่อน +1

      But why

    • @Nekozuo
      @Nekozuo 3 หลายเดือนก่อน

      ​@@NancyShaw-dg7lsnew accounts

    • @angrymp40
      @angrymp40 หลายเดือนก่อน +1

      Bakchodi kroge to , pele bhi jaoge 😔🤣

  • @MedBenrouan
    @MedBenrouan 2 หลายเดือนก่อน +1

    Your phone number will got banned

  • @quochoandkh
    @quochoandkh 2 หลายเดือนก่อน

    I want to copy from topic id to channel id
    help me

  • @greatergodage5219
    @greatergodage5219 4 หลายเดือนก่อน

    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.

    • @topnotchprogrammer
      @topnotchprogrammer  4 หลายเดือนก่อน +2

      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

    • @greatergodage5219
      @greatergodage5219 4 หลายเดือนก่อน

      @@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'

    • @greatergodage5219
      @greatergodage5219 4 หลายเดือนก่อน

      @@topnotchprogrammer Thank you. It worked

    • @greatergodage5219
      @greatergodage5219 4 หลายเดือนก่อน

      @@topnotchprogrammer But I got another issue. It does not list all the chats / groups / channels

    • @cryptoinvesta3084
      @cryptoinvesta3084 4 หลายเดือนก่อน

      I’m getting an error when I’m trying to add the chats

  • @XDsinRX
    @XDsinRX 3 หลายเดือนก่อน

    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

  • @nmirfanyt
    @nmirfanyt 4 หลายเดือนก่อน

    Can it forward to Forums?

  • @mittalbaria
    @mittalbaria 6 วันที่ผ่านมา

    Do I need to keep my PC on

  • @b664s
    @b664s 4 หลายเดือนก่อน

    dose it work in restricted channels ?

  • @xelsius3263
    @xelsius3263 4 หลายเดือนก่อน +1

    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.

    • @ninesar
      @ninesar 3 หลายเดือนก่อน

      did u ever figure this out?

  • @alexsandror
    @alexsandror 4 หลายเดือนก่อน

    only show the last chat on chat list ID

  • @muhammeduk8834
    @muhammeduk8834 หลายเดือนก่อน

    source code link pls

  • @Code4kings
    @Code4kings 3 หลายเดือนก่อน

    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

  • @scarface9417
    @scarface9417 4 หลายเดือนก่อน

    Tools broken

  • @thealbaniancreator
    @thealbaniancreator 4 หลายเดือนก่อน