Code Monkey home page Code Monkey logo

Comments (11)

aahnik avatar aahnik commented on May 27, 2024 1

Currently, the offset is there. In the next release I will add another attribute end . The value of end should be the message id of the last message.

tgcf would not copy messages greater than that message id.

The offset and end are applicable when tgcf is run in past mode.

from tgcf.

aahnik avatar aahnik commented on May 27, 2024 1
forwards:
  - source: -1001412118156
    dest: [-1001461332656,-1001457230530]
    offset: 100 # id of the last forwarded message
    # forwarding will start from msg id offset + 1
    end: 5000 # msg id for ending

from tgcf.

aahnik avatar aahnik commented on May 27, 2024

you can set the offset to define the starting point. The endpoint cannot yet be defined.

The offset is the id of the message as in Telegram's database.

from tgcf.

tissole avatar tissole commented on May 27, 2024

"The endpoint cannot yet be defined."
What is that meaning? It is because of Telegram?

from tgcf.

aahnik avatar aahnik commented on May 27, 2024

"The endpoint cannot yet be defined."
What is that meaning? It is because of Telegram?

I cant say without context. Please give more details, and where you encountered the error.

from tgcf.

tissole avatar tissole commented on May 27, 2024

No, is not an error. I want to forward only from post id 1000 to post id 1500 from a channel.

from tgcf.

aahnik avatar aahnik commented on May 27, 2024

Where did you get that message? While setting offset? That means that message-id does not exist yet.

from tgcf.

tissole avatar tissole commented on May 27, 2024

No, not an error is a feature. Currently

[Books]
from = -aaaaaaaaaaa
to = -bbbbbbbbbbb
offset = 1000

The script forwards from the post id 1000 to the end of posts in the source channel. I want to copy from post id 1000 to post id 1500, not to the end of posts, but now it is not possible.

from tgcf.

aahnik avatar aahnik commented on May 27, 2024

sorry! in a hurry, i was misunderstanding your question.

Now, I got it.

endpoint means = where to stop

the feature is not there, because it is not yet implemented.

It is because of Telegram?

No, it is just not implemented yet by me.

from tgcf.

tissole avatar tissole commented on May 27, 2024

Ok, thanks for the clarification.

from tgcf.

tissole avatar tissole commented on May 27, 2024

Good, thank you!

from tgcf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.