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 775 forks source link

i had installed the tgcf but when i run i am getting the following error message error: unpack requires a buffer of 275 bytes #470

Open gdp10new opened 1 year ago

gdp10new commented 1 year ago

Discussed in https://github.com/aahnik/tgcf/discussions/198

Originally posted by **tissole** June 4, 2021 Thank you for implementing #53. I tested the new feature and I found some glitches. I wanted to forward messages between 108223, including and 108558, also included. offset: 108223 end: 108558 This resulting in copying all but without the first message(108223), it started with 108224. The last 2 messages were in an album and they were forwarded as separate files. The yml values were changed to these offset: 108558 end: 108557 Then I tested with offset: 108222 end: 108558 This time the script forwarded all messages including 108223, but also forwarded one more message(108559) and the last 2 files from the album were separated again. The yml values were changed to these offset: 108559 end: 108558 Lastly, I tried without the last 2 messages that were in an album to see if that was the glitch source. offset: 108222 end: 108556 The script forwarded messages from 108223 to 108557, so again has forwarded one more. The yml values were changed to offset: 108557 end: 108556 So it's not related to the album. The script starts to copy from the next offset value and ends with one more file over the end value.