aahnik / tgcf

The ultimate tool to automate custom telegram message forwarding. Live-syncer, Auto-poster, backup-bot, cloner, chat-forwarder, duplicator, ... Call it whatever you like! tgcf can fulfill your custom needs.
https://github.com/aahnik/tgcf/wiki
MIT License
1.29k stars 773 forks source link

How to forward from private channels in which user is a subscriber but doesn't have invite link of it #554

Closed cleanerspam closed 5 months ago

cleanerspam commented 5 months ago

USE CASE Sometimes a user may want to forward messages from a Private channel in which he is a member but it provides no invite link , Now what should be done . I tried by entering channel id like 1500699669 in source and invite link of my own channel as destination but the sending fails .

To Reproduce Try to forward from any private channel in which you are not an admin to your channel without having Invite Link

Expected behavior by using channel id , tgcf should find the expected channel and start forwarding messages according to the configuration

Screenshots If applicable, add screenshots and gifs to help explain your problem.

Additional context Log -Pastebin

cleanerspam commented 5 months ago

It was fixed ,it was error on my part simple add -100 before each channel id and it works